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   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 12
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 5 1
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