Browse Source

PSR-4 comliant tests

Maurits van der Schee 7 years ago
parent
commit
2a2e49eb6c

+ 2
- 2
tests/Api.php View File

@@ -1,5 +1,5 @@
1 1
 <?php
2
-namespace PhpCrudApi\Tests;
2
+namespace Mevdschee\PhpCrudApi\Tests;
3 3
 
4 4
 require_once(__DIR__ . '/../api.php');
5 5
 
@@ -13,7 +13,7 @@ class Api
13 13
     protected $config;
14 14
 
15 15
     /**
16
-     * @var PhpCrudApi\Tests\BaseTest
16
+     * @var Mevdschee\PhpCrudApi\Tests\BaseTest
17 17
      */
18 18
     protected $test;
19 19
 

+ 1
- 1
tests/Config.php.dist View File

@@ -1,5 +1,5 @@
1 1
 <?php
2
-namespace PhpCrudApi\Tests;
2
+namespace Mevdschee\PhpCrudApi\Tests;
3 3
 
4 4
 class Config
5 5
 {

+ 1
- 1
tests/Config.php.travis View File

@@ -1,5 +1,5 @@
1 1
 <?php
2
-namespace PhpCrudApi\Tests;
2
+namespace Mevdschee\PhpCrudApi\Tests;
3 3
 
4 4
 class Config
5 5
 {

+ 1
- 1
tests/MysqlTest.php View File

@@ -1,5 +1,5 @@
1 1
 <?php
2
-namespace PhpCrudApi\Tests;
2
+namespace Mevdschee\PhpCrudApi\Tests;
3 3
 
4 4
 class MysqlTest extends Tests
5 5
 {

+ 1
- 1
tests/PostgresqlTest.php View File

@@ -1,5 +1,5 @@
1 1
 <?php
2
-namespace PhpCrudApi\Tests;
2
+namespace Mevdschee\PhpCrudApi\Tests;
3 3
 
4 4
 class PostgresqlTest extends Tests
5 5
 {

+ 1
- 1
tests/SqlServerTest.php View File

@@ -1,5 +1,5 @@
1 1
 <?php
2
-namespace PhpCrudApi\Tests;
2
+namespace Mevdschee\PhpCrudApi\Tests;
3 3
 
4 4
 class SqlServerTest extends Tests
5 5
 {

+ 1
- 1
tests/SqliteTest.php View File

@@ -1,5 +1,5 @@
1 1
 <?php
2
-namespace PhpCrudApi\Tests;
2
+namespace Mevdschee\PhpCrudApi\Tests;
3 3
 
4 4
 class SqliteTest extends Tests
5 5
 {

+ 1
- 1
tests/TestBase.php View File

@@ -1,5 +1,5 @@
1 1
 <?php
2
-namespace PhpCrudApi\Tests;
2
+namespace Mevdschee\PhpCrudApi\Tests;
3 3
 
4 4
 abstract class TestBase extends \PHPUnit_Framework_TestCase
5 5
 {

+ 1
- 1
tests/Tests.php View File

@@ -1,5 +1,5 @@
1 1
 <?php
2
-namespace PhpCrudApi\Tests;
2
+namespace Mevdschee\PhpCrudApi\Tests;
3 3
 
4 4
 abstract class Tests extends TestBase
5 5
 {

+ 1
- 1
tests/autoload.php View File

@@ -14,7 +14,7 @@
14 14
 spl_autoload_register(function ($class) {
15 15
 
16 16
     // project-specific namespace prefix
17
-    $prefix = 'PhpCrudApi\\Tests\\';
17
+    $prefix = 'Mevdschee\\PhpCrudApi\\Tests\\';
18 18
 
19 19
     // base directory for the namespace prefix
20 20
     $base_dir = __DIR__ . '/';

Loading…
Cancel
Save