@@ -1,31 +1,31 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | - use PHPUnit\Framework\TestCase; |
|
3 | + use PHPUnit\Framework\TestCase; |
|
4 | 4 | |
5 | - class RequestTest extends TestCase |
|
6 | - { |
|
5 | + class RequestTest extends TestCase |
|
6 | + { |
|
7 | 7 | |
8 | - public static function setUpBeforeClass() |
|
9 | - { |
|
8 | + public static function setUpBeforeClass() |
|
9 | + { |
|
10 | 10 | |
11 | - } |
|
11 | + } |
|
12 | 12 | |
13 | - public static function tearDownAfterClass() |
|
14 | - { |
|
13 | + public static function tearDownAfterClass() |
|
14 | + { |
|
15 | 15 | |
16 | - } |
|
16 | + } |
|
17 | 17 | |
18 | - protected function setUp() |
|
19 | - { |
|
20 | - } |
|
18 | + protected function setUp() |
|
19 | + { |
|
20 | + } |
|
21 | 21 | |
22 | - protected function tearDown() |
|
23 | - { |
|
24 | - } |
|
22 | + protected function tearDown() |
|
23 | + { |
|
24 | + } |
|
25 | 25 | |
26 | - public function testNotYet() |
|
27 | - { |
|
28 | - $this->markTestSkipped(); |
|
29 | - } |
|
26 | + public function testNotYet() |
|
27 | + { |
|
28 | + $this->markTestSkipped(); |
|
29 | + } |
|
30 | 30 | |
31 | - } |
|
32 | 31 | \ No newline at end of file |
32 | + } |
|
33 | 33 | \ No newline at end of file |
@@ -1,31 +1,31 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | - use PHPUnit\Framework\TestCase; |
|
3 | + use PHPUnit\Framework\TestCase; |
|
4 | 4 | |
5 | - class LoaderTest extends TestCase |
|
6 | - { |
|
5 | + class LoaderTest extends TestCase |
|
6 | + { |
|
7 | 7 | |
8 | - public static function setUpBeforeClass() |
|
9 | - { |
|
8 | + public static function setUpBeforeClass() |
|
9 | + { |
|
10 | 10 | |
11 | - } |
|
11 | + } |
|
12 | 12 | |
13 | - public static function tearDownAfterClass() |
|
14 | - { |
|
13 | + public static function tearDownAfterClass() |
|
14 | + { |
|
15 | 15 | |
16 | - } |
|
16 | + } |
|
17 | 17 | |
18 | - protected function setUp() |
|
19 | - { |
|
20 | - } |
|
18 | + protected function setUp() |
|
19 | + { |
|
20 | + } |
|
21 | 21 | |
22 | - protected function tearDown() |
|
23 | - { |
|
24 | - } |
|
22 | + protected function tearDown() |
|
23 | + { |
|
24 | + } |
|
25 | 25 | |
26 | - public function testNotYet() |
|
27 | - { |
|
28 | - $this->markTestSkipped(); |
|
29 | - } |
|
26 | + public function testNotYet() |
|
27 | + { |
|
28 | + $this->markTestSkipped(); |
|
29 | + } |
|
30 | 30 | |
31 | - } |
|
32 | 31 | \ No newline at end of file |
32 | + } |
|
33 | 33 | \ No newline at end of file |
@@ -1,33 +1,33 @@ |
||
1 | 1 | <?php |
2 | - use PHPUnit\Framework\TestCase; |
|
2 | + use PHPUnit\Framework\TestCase; |
|
3 | 3 | |
4 | - class SessionTest extends TestCase |
|
5 | - { |
|
4 | + class SessionTest extends TestCase |
|
5 | + { |
|
6 | 6 | |
7 | - public static function setUpBeforeClass() |
|
8 | - { |
|
7 | + public static function setUpBeforeClass() |
|
8 | + { |
|
9 | 9 | |
10 | - } |
|
10 | + } |
|
11 | 11 | |
12 | - public static function tearDownAfterClass() |
|
13 | - { |
|
12 | + public static function tearDownAfterClass() |
|
13 | + { |
|
14 | 14 | |
15 | - } |
|
15 | + } |
|
16 | 16 | |
17 | 17 | |
18 | - protected function setUp() |
|
19 | - { |
|
20 | - } |
|
18 | + protected function setUp() |
|
19 | + { |
|
20 | + } |
|
21 | 21 | |
22 | - protected function tearDown() |
|
23 | - { |
|
24 | - } |
|
22 | + protected function tearDown() |
|
23 | + { |
|
24 | + } |
|
25 | 25 | |
26 | - // tests |
|
27 | - public function testSomeFeature() |
|
28 | - { |
|
29 | - Session::set('foo', 'bar'); |
|
30 | - $this->assertEquals('bar', Session::get('foo')); |
|
31 | - //$this->expectException(InvalidArgumentException::class); |
|
32 | - } |
|
33 | - } |
|
34 | 26 | \ No newline at end of file |
27 | + // tests |
|
28 | + public function testSomeFeature() |
|
29 | + { |
|
30 | + Session::set('foo', 'bar'); |
|
31 | + $this->assertEquals('bar', Session::get('foo')); |
|
32 | + //$this->expectException(InvalidArgumentException::class); |
|
33 | + } |
|
34 | + } |
|
35 | 35 | \ No newline at end of file |
@@ -1,31 +1,31 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | - use PHPUnit\Framework\TestCase; |
|
3 | + use PHPUnit\Framework\TestCase; |
|
4 | 4 | |
5 | - class UrlTest extends TestCase |
|
6 | - { |
|
5 | + class UrlTest extends TestCase |
|
6 | + { |
|
7 | 7 | |
8 | - public static function setUpBeforeClass() |
|
9 | - { |
|
8 | + public static function setUpBeforeClass() |
|
9 | + { |
|
10 | 10 | |
11 | - } |
|
11 | + } |
|
12 | 12 | |
13 | - public static function tearDownAfterClass() |
|
14 | - { |
|
13 | + public static function tearDownAfterClass() |
|
14 | + { |
|
15 | 15 | |
16 | - } |
|
16 | + } |
|
17 | 17 | |
18 | - protected function setUp() |
|
19 | - { |
|
20 | - } |
|
18 | + protected function setUp() |
|
19 | + { |
|
20 | + } |
|
21 | 21 | |
22 | - protected function tearDown() |
|
23 | - { |
|
24 | - } |
|
22 | + protected function tearDown() |
|
23 | + { |
|
24 | + } |
|
25 | 25 | |
26 | - public function testNotYet() |
|
27 | - { |
|
28 | - $this->markTestSkipped(); |
|
29 | - } |
|
26 | + public function testNotYet() |
|
27 | + { |
|
28 | + $this->markTestSkipped(); |
|
29 | + } |
|
30 | 30 | |
31 | - } |
|
32 | 31 | \ No newline at end of file |
32 | + } |
|
33 | 33 | \ No newline at end of file |
@@ -1,31 +1,31 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | - use PHPUnit\Framework\TestCase; |
|
3 | + use PHPUnit\Framework\TestCase; |
|
4 | 4 | |
5 | - class LogTest extends TestCase |
|
6 | - { |
|
5 | + class LogTest extends TestCase |
|
6 | + { |
|
7 | 7 | |
8 | - public static function setUpBeforeClass() |
|
9 | - { |
|
8 | + public static function setUpBeforeClass() |
|
9 | + { |
|
10 | 10 | |
11 | - } |
|
11 | + } |
|
12 | 12 | |
13 | - public static function tearDownAfterClass() |
|
14 | - { |
|
13 | + public static function tearDownAfterClass() |
|
14 | + { |
|
15 | 15 | |
16 | - } |
|
16 | + } |
|
17 | 17 | |
18 | - protected function setUp() |
|
19 | - { |
|
20 | - } |
|
18 | + protected function setUp() |
|
19 | + { |
|
20 | + } |
|
21 | 21 | |
22 | - protected function tearDown() |
|
23 | - { |
|
24 | - } |
|
22 | + protected function tearDown() |
|
23 | + { |
|
24 | + } |
|
25 | 25 | |
26 | - public function testNotYet() |
|
27 | - { |
|
28 | - $this->markTestSkipped(); |
|
29 | - } |
|
26 | + public function testNotYet() |
|
27 | + { |
|
28 | + $this->markTestSkipped(); |
|
29 | + } |
|
30 | 30 | |
31 | - } |
|
32 | 31 | \ No newline at end of file |
32 | + } |
|
33 | 33 | \ No newline at end of file |
@@ -1,31 +1,31 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | - use PHPUnit\Framework\TestCase; |
|
3 | + use PHPUnit\Framework\TestCase; |
|
4 | 4 | |
5 | - class ModelTest extends TestCase |
|
6 | - { |
|
5 | + class ModelTest extends TestCase |
|
6 | + { |
|
7 | 7 | |
8 | - public static function setUpBeforeClass() |
|
9 | - { |
|
8 | + public static function setUpBeforeClass() |
|
9 | + { |
|
10 | 10 | |
11 | - } |
|
11 | + } |
|
12 | 12 | |
13 | - public static function tearDownAfterClass() |
|
14 | - { |
|
13 | + public static function tearDownAfterClass() |
|
14 | + { |
|
15 | 15 | |
16 | - } |
|
16 | + } |
|
17 | 17 | |
18 | - protected function setUp() |
|
19 | - { |
|
20 | - } |
|
18 | + protected function setUp() |
|
19 | + { |
|
20 | + } |
|
21 | 21 | |
22 | - protected function tearDown() |
|
23 | - { |
|
24 | - } |
|
22 | + protected function tearDown() |
|
23 | + { |
|
24 | + } |
|
25 | 25 | |
26 | - public function testNotYet() |
|
27 | - { |
|
28 | - $this->markTestSkipped(); |
|
29 | - } |
|
26 | + public function testNotYet() |
|
27 | + { |
|
28 | + $this->markTestSkipped(); |
|
29 | + } |
|
30 | 30 | |
31 | - } |
|
32 | 31 | \ No newline at end of file |
32 | + } |
|
33 | 33 | \ No newline at end of file |
@@ -1,31 +1,31 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | - use PHPUnit\Framework\TestCase; |
|
3 | + use PHPUnit\Framework\TestCase; |
|
4 | 4 | |
5 | - class DBSessionHandlerModelTest extends TestCase |
|
6 | - { |
|
5 | + class DBSessionHandlerModelTest extends TestCase |
|
6 | + { |
|
7 | 7 | |
8 | - public static function setUpBeforeClass() |
|
9 | - { |
|
8 | + public static function setUpBeforeClass() |
|
9 | + { |
|
10 | 10 | |
11 | - } |
|
11 | + } |
|
12 | 12 | |
13 | - public static function tearDownAfterClass() |
|
14 | - { |
|
13 | + public static function tearDownAfterClass() |
|
14 | + { |
|
15 | 15 | |
16 | - } |
|
16 | + } |
|
17 | 17 | |
18 | - protected function setUp() |
|
19 | - { |
|
20 | - } |
|
18 | + protected function setUp() |
|
19 | + { |
|
20 | + } |
|
21 | 21 | |
22 | - protected function tearDown() |
|
23 | - { |
|
24 | - } |
|
22 | + protected function tearDown() |
|
23 | + { |
|
24 | + } |
|
25 | 25 | |
26 | - public function testNotYet() |
|
27 | - { |
|
28 | - $this->markTestSkipped(); |
|
29 | - } |
|
26 | + public function testNotYet() |
|
27 | + { |
|
28 | + $this->markTestSkipped(); |
|
29 | + } |
|
30 | 30 | |
31 | - } |
|
32 | 31 | \ No newline at end of file |
32 | + } |
|
33 | 33 | \ No newline at end of file |
@@ -1,31 +1,31 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | - use PHPUnit\Framework\TestCase; |
|
3 | + use PHPUnit\Framework\TestCase; |
|
4 | 4 | |
5 | - class DatabaseTest extends TestCase |
|
6 | - { |
|
5 | + class DatabaseTest extends TestCase |
|
6 | + { |
|
7 | 7 | |
8 | - public static function setUpBeforeClass() |
|
9 | - { |
|
8 | + public static function setUpBeforeClass() |
|
9 | + { |
|
10 | 10 | |
11 | - } |
|
11 | + } |
|
12 | 12 | |
13 | - public static function tearDownAfterClass() |
|
14 | - { |
|
13 | + public static function tearDownAfterClass() |
|
14 | + { |
|
15 | 15 | |
16 | - } |
|
16 | + } |
|
17 | 17 | |
18 | - protected function setUp() |
|
19 | - { |
|
20 | - } |
|
18 | + protected function setUp() |
|
19 | + { |
|
20 | + } |
|
21 | 21 | |
22 | - protected function tearDown() |
|
23 | - { |
|
24 | - } |
|
22 | + protected function tearDown() |
|
23 | + { |
|
24 | + } |
|
25 | 25 | |
26 | - public function testNotYet() |
|
27 | - { |
|
28 | - $this->markTestSkipped(); |
|
29 | - } |
|
26 | + public function testNotYet() |
|
27 | + { |
|
28 | + $this->markTestSkipped(); |
|
29 | + } |
|
30 | 30 | |
31 | - } |
|
32 | 31 | \ No newline at end of file |
32 | + } |
|
33 | 33 | \ No newline at end of file |
@@ -1,31 +1,31 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | - use PHPUnit\Framework\TestCase; |
|
3 | + use PHPUnit\Framework\TestCase; |
|
4 | 4 | |
5 | - class ConfigTest extends TestCase |
|
6 | - { |
|
5 | + class ConfigTest extends TestCase |
|
6 | + { |
|
7 | 7 | |
8 | - public static function setUpBeforeClass() |
|
9 | - { |
|
8 | + public static function setUpBeforeClass() |
|
9 | + { |
|
10 | 10 | |
11 | - } |
|
11 | + } |
|
12 | 12 | |
13 | - public static function tearDownAfterClass() |
|
14 | - { |
|
13 | + public static function tearDownAfterClass() |
|
14 | + { |
|
15 | 15 | |
16 | - } |
|
16 | + } |
|
17 | 17 | |
18 | - protected function setUp() |
|
19 | - { |
|
20 | - } |
|
18 | + protected function setUp() |
|
19 | + { |
|
20 | + } |
|
21 | 21 | |
22 | - protected function tearDown() |
|
23 | - { |
|
24 | - } |
|
22 | + protected function tearDown() |
|
23 | + { |
|
24 | + } |
|
25 | 25 | |
26 | - public function testNotYet() |
|
27 | - { |
|
28 | - $this->markTestSkipped(); |
|
29 | - } |
|
26 | + public function testNotYet() |
|
27 | + { |
|
28 | + $this->markTestSkipped(); |
|
29 | + } |
|
30 | 30 | |
31 | - } |
|
32 | 31 | \ No newline at end of file |
32 | + } |
|
33 | 33 | \ No newline at end of file |