Skip to content

Commit

Permalink
remove Tests namespace
Browse files Browse the repository at this point in the history
We don't need to Tests namespace, there aren't many test classes.
  • Loading branch information
brayniverse committed Sep 1, 2016
1 parent 4ae9a6c commit 558126a
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 16 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
"classmap": [
"tests"
]
},
"scripts": {
"test": "vendor/bin/phpunit tests"
Expand Down
2 changes: 0 additions & 2 deletions tests/CustomValidatorsTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

namespace Tests;

use Illuminate\Support\Facades\Validator;

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

namespace Tests\Fixtures;

class Rule
{
public function validate($attribute, $value, $parameters, $validator)
Expand Down
2 changes: 0 additions & 2 deletions tests/Fixtures/SanitizedRule.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

namespace Tests\Fixtures;

class SanitizedRule
{
public function validate($attribute, $value, $parameters)
Expand Down
2 changes: 0 additions & 2 deletions tests/Fixtures/TestServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

namespace Tests\Fixtures;

use LaravelValidators\Foundation\ValidationServiceProvider;

class TestServiceProvider extends ValidationServiceProvider
Expand Down
2 changes: 0 additions & 2 deletions tests/SanitizedValidatorsTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

namespace Tests;

use Illuminate\Support\Facades\Validator;

class SanitizedValidatorsTest extends TestCase
Expand Down
4 changes: 1 addition & 3 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
<?php

namespace Tests;

abstract class TestCase extends \Orchestra\Testbench\TestCase
{
protected function getPackageProviders($app)
{
return [\Tests\Fixtures\TestServiceProvider::class];
return [TestServiceProvider::class];
}
}

0 comments on commit 558126a

Please sign in to comment.