Skip to content

Commit 360da84

Browse files
committed
Fix tests namespace
1 parent b114a87 commit 360da84

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+100
-69
lines changed

composer.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@
2323
}
2424
},
2525
"autoload-dev": {
26-
"classmap": [
27-
"tests/TestingTools/TestCase.php",
28-
"tests/TestingTools/fixture/app"
29-
]
26+
"psr-4": {
27+
"Illuminated\\TestingTools\\Tests\\": "tests/"
28+
}
3029
}
3130
}

tests/TestingTools/Asserts/ArtisanAssertsTest.php renamed to tests/Asserts/ArtisanAssertsTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?php
22

3-
namespace Illuminated\Testing\TestingTools\Tests\Asserts;
3+
namespace Illuminated\TestingTools\Tests\Asserts;
44

5-
use GenericCommand;
6-
use ConfirmationCommand;
7-
use ConfirmableTraitCommand;
8-
use Illuminated\Testing\TestingTools\Tests\TestCase;
5+
use Illuminated\TestingTools\Tests\TestCase;
6+
use Illuminated\TestingTools\Tests\Fixture\App\Console\Commands\GenericCommand;
7+
use Illuminated\TestingTools\Tests\Fixture\App\Console\Commands\ConfirmationCommand;
8+
use Illuminated\TestingTools\Tests\Fixture\App\Console\Commands\ConfirmableTraitCommand;
99

1010
class ArtisanAssertsTest extends TestCase
1111
{

tests/TestingTools/Asserts/ArtisanAssertsTest/confirmable.accepted.output.txt renamed to tests/Asserts/ArtisanAssertsTest/confirmable.accepted.output.txt

File renamed without changes.

tests/TestingTools/Asserts/ArtisanAssertsTest/generic.correct.output.txt renamed to tests/Asserts/ArtisanAssertsTest/generic.correct.output.txt

File renamed without changes.

tests/TestingTools/Asserts/ArtisanAssertsTest/generic.incorrect.output.txt renamed to tests/Asserts/ArtisanAssertsTest/generic.incorrect.output.txt

File renamed without changes.

tests/TestingTools/Asserts/ArtisanAssertsTest/table.needle.output.txt renamed to tests/Asserts/ArtisanAssertsTest/table.needle.output.txt

File renamed without changes.

tests/TestingTools/Asserts/ArtisanAssertsTest/table.wrong-needle.output.txt renamed to tests/Asserts/ArtisanAssertsTest/table.wrong-needle.output.txt

File renamed without changes.

tests/TestingTools/Asserts/CollectionAssertsTest.php renamed to tests/Asserts/CollectionAssertsTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
namespace Illuminated\Testing\TestingTools\Tests\Asserts;
3+
namespace Illuminated\TestingTools\Tests\Asserts;
44

5-
use Illuminated\Testing\TestingTools\Tests\TestCase;
5+
use Illuminated\TestingTools\Tests\TestCase;
66

77
class CollectionAssertsTest extends TestCase
88
{

tests/TestingTools/Asserts/DatabaseAssertsTest.php renamed to tests/Asserts/DatabaseAssertsTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

3-
namespace Illuminated\Testing\TestingTools\Tests\Asserts;
3+
namespace Illuminated\TestingTools\Tests\Asserts;
44

5-
use Post;
6-
use Illuminated\Testing\TestingTools\Tests\TestCase;
5+
use Illuminated\TestingTools\Tests\TestCase;
6+
use Illuminated\TestingTools\Tests\Fixture\App\Post;
77

88
class DatabaseAssertsTest extends TestCase
99
{

tests/TestingTools/Asserts/EloquentAssertsTest.php renamed to tests/Asserts/EloquentAssertsTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?php
22

3-
namespace Illuminated\Testing\TestingTools\Tests\Asserts;
3+
namespace Illuminated\TestingTools\Tests\Asserts;
44

5-
use Post;
6-
use Comment;
7-
use Category;
8-
use Illuminated\Testing\TestingTools\Tests\TestCase;
5+
use Illuminated\TestingTools\Tests\TestCase;
6+
use Illuminated\TestingTools\Tests\Fixture\App\Post;
7+
use Illuminated\TestingTools\Tests\Fixture\App\Comment;
8+
use Illuminated\TestingTools\Tests\Fixture\App\Category;
99

1010
class EloquentAssertsTest extends TestCase
1111
{

0 commit comments

Comments
 (0)