GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 764334...261594 )
by Alexey
33:15
created

WebTestCase::setUp()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 5
rs 10
c 0
b 0
f 0
1
<?php
2
3
/**
4
 * Change the following URL based on your server configuration
5
 * Make sure the URL ends with a slash so that we can use relative URLs in test cases
6
 */
7
if( !defined('TEST_BASE_URL') )
8
  define('TEST_BASE_URL', 'http://www.argilla.dev.shogo.ru/index-test.php/');
9
10
11
/**
12
 * The base class for functional test cases.
13
 * In this class, we set the base URL for the test application.
14
 * We also provide some common methods to be used by concrete test classes.
15
 */
16
class WebTestCase extends CWebTestCase
17
{
18
  /**
19
   * Sets up before each test method runs.
20
   * This mainly sets the base URL for the test application.
21
   */
22
  protected function setUp()
23
  {
24
    parent::setUp();
25
    $this->setBrowserUrl(TEST_BASE_URL);
26
  }
27
}
28