Skip to content

Commit

Permalink
Merge pull request #1 from winkbrace/namespace-testcase
Browse files Browse the repository at this point in the history
🔨 Give the unit tests TestCase a namespace
  • Loading branch information
dmitry-ivanov authored Mar 6, 2017
2 parents cc2b9a6 + 7d5a3e3 commit 2835131
Show file tree
Hide file tree
Showing 14 changed files with 25 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Asserts/ArtisanAssertsTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

use Illuminated\Testing\Tests\TestCase;

class ArtisanAssertsTest extends TestCase
{
/** @test */
Expand Down
2 changes: 2 additions & 0 deletions tests/Asserts/CollectionAssertsTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

use Illuminated\Testing\Tests\TestCase;

class CollectionAssertsTest extends TestCase
{
/** @test */
Expand Down
2 changes: 2 additions & 0 deletions tests/Asserts/DatabaseAssertsTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

use Illuminated\Testing\Tests\TestCase;

class DatabaseAssertsTest extends TestCase
{
public function setUp()
Expand Down
2 changes: 2 additions & 0 deletions tests/Asserts/EloquentAssertsTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

use Illuminated\Testing\Tests\TestCase;

class EloquentAssertsTest extends TestCase
{
/** @test */
Expand Down
2 changes: 2 additions & 0 deletions tests/Asserts/ExceptionAssertsTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

use Illuminated\Testing\Tests\TestCase;

class ExceptionAssertsTest extends TestCase
{
/** @test */
Expand Down
2 changes: 2 additions & 0 deletions tests/Asserts/FilesystemAssertsTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

use Illuminated\Testing\Tests\TestCase;

class FilesystemAssertsTest extends TestCase
{
/** @test */
Expand Down
1 change: 1 addition & 0 deletions tests/Asserts/LogFileAssertsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

use Carbon\Carbon;
use Illuminate\Support\Facades\File;
use Illuminated\Testing\Tests\TestCase;

class LogFileAssertsTest extends TestCase
{
Expand Down
1 change: 1 addition & 0 deletions tests/Asserts/ReflectionAssertsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

use Illuminate\Console\Command;
use Illuminate\Database\Eloquent\Model;
use Illuminated\Testing\Tests\TestCase;

class ReflectionAssertsTest extends TestCase
{
Expand Down
1 change: 1 addition & 0 deletions tests/Asserts/ScheduleAssertsTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

use Illuminate\Console\Scheduling\Schedule;
use Illuminated\Testing\Tests\TestCase;

class ScheduleAssertsTest extends TestCase
{
Expand Down
2 changes: 2 additions & 0 deletions tests/Asserts/ServiceProviderAssertsTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

use Illuminated\Testing\Tests\TestCase;

class ServiceProviderAssertsTest extends TestCase
{
protected function getPackageProviders($app)
Expand Down
2 changes: 2 additions & 0 deletions tests/Helpers/ApplicationHelpersTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

use Illuminated\Testing\Tests\TestCase;

class ApplicationHelpersTest extends TestCase
{
/** @test */
Expand Down
2 changes: 2 additions & 0 deletions tests/Helpers/ArtisanHelpersTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

use Illuminated\Testing\Tests\TestCase;

class ArtisanHelpersTest extends TestCase
{
/** @test */
Expand Down
3 changes: 3 additions & 0 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
<?php

namespace Illuminated\Testing\Tests;

use Illuminate\Contracts\Console\Kernel as KernelContract;
use Illuminated\Testing\TestingTools;
use Kernel;

abstract class TestCase extends \Orchestra\Testbench\TestCase
{
Expand Down
1 change: 1 addition & 0 deletions tests/TestingToolsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
use Illuminated\Testing\Helpers\ApplicationHelpers;
use Illuminated\Testing\Helpers\ArtisanHelpers;
use Illuminated\Testing\TestingTools;
use Illuminated\Testing\Tests\TestCase;

class TestingToolsTest extends TestCase
{
Expand Down

0 comments on commit 2835131

Please sign in to comment.