Skip to content

Commit 2835131

Browse files
Merge pull request #1 from winkbrace/namespace-testcase
🔨 Give the unit tests TestCase a namespace
2 parents cc2b9a6 + 7d5a3e3 commit 2835131

14 files changed

+25
-0
lines changed

tests/Asserts/ArtisanAssertsTest.php

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

3+
use Illuminated\Testing\Tests\TestCase;
4+
35
class ArtisanAssertsTest extends TestCase
46
{
57
/** @test */

tests/Asserts/CollectionAssertsTest.php

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

3+
use Illuminated\Testing\Tests\TestCase;
4+
35
class CollectionAssertsTest extends TestCase
46
{
57
/** @test */

tests/Asserts/DatabaseAssertsTest.php

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

3+
use Illuminated\Testing\Tests\TestCase;
4+
35
class DatabaseAssertsTest extends TestCase
46
{
57
public function setUp()

tests/Asserts/EloquentAssertsTest.php

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

3+
use Illuminated\Testing\Tests\TestCase;
4+
35
class EloquentAssertsTest extends TestCase
46
{
57
/** @test */

tests/Asserts/ExceptionAssertsTest.php

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

3+
use Illuminated\Testing\Tests\TestCase;
4+
35
class ExceptionAssertsTest extends TestCase
46
{
57
/** @test */

tests/Asserts/FilesystemAssertsTest.php

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

3+
use Illuminated\Testing\Tests\TestCase;
4+
35
class FilesystemAssertsTest extends TestCase
46
{
57
/** @test */

tests/Asserts/LogFileAssertsTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
use Carbon\Carbon;
44
use Illuminate\Support\Facades\File;
5+
use Illuminated\Testing\Tests\TestCase;
56

67
class LogFileAssertsTest extends TestCase
78
{

tests/Asserts/ReflectionAssertsTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
use Illuminate\Console\Command;
44
use Illuminate\Database\Eloquent\Model;
5+
use Illuminated\Testing\Tests\TestCase;
56

67
class ReflectionAssertsTest extends TestCase
78
{

tests/Asserts/ScheduleAssertsTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php
22

33
use Illuminate\Console\Scheduling\Schedule;
4+
use Illuminated\Testing\Tests\TestCase;
45

56
class ScheduleAssertsTest extends TestCase
67
{

tests/Asserts/ServiceProviderAssertsTest.php

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

3+
use Illuminated\Testing\Tests\TestCase;
4+
35
class ServiceProviderAssertsTest extends TestCase
46
{
57
protected function getPackageProviders($app)

0 commit comments

Comments
 (0)