Skip to content

fix path name for tests in autoloader #51

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
},
"autoload-dev": {
"psr-4": {
"Sourceboat\\Permission\\Test\\": "tests"
"Sourceboat\\Permission\\Tests\\": "tests"
}
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion tests/BladeTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Sourceboat\Permission\Test;
namespace Sourceboat\Permission\Tests;

use Artisan;

Expand Down
2 changes: 1 addition & 1 deletion tests/MatchPermissionTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Sourceboat\Permission\Test;
namespace Sourceboat\Permission\Tests;

class MatchPermissionTest extends TestCase
{
Expand Down
2 changes: 1 addition & 1 deletion tests/MatchRuleToPermissionTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Sourceboat\Permission\Test;
namespace Sourceboat\Permission\Tests;

class MatchRuleToPermissionTest extends TestCase
{
Expand Down
2 changes: 1 addition & 1 deletion tests/MiddlewareTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Sourceboat\Permission\Test;
namespace Sourceboat\Permission\Tests;

use Illuminate\Http\Request;
use Illuminate\Http\Response;
Expand Down
2 changes: 1 addition & 1 deletion tests/PermissionTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Sourceboat\Permission\Test;
namespace Sourceboat\Permission\Tests;

/** @SuppressWarnings(PHPMD.TooManyPublicMethods) */
class PermissionTest extends TestCase
Expand Down
2 changes: 1 addition & 1 deletion tests/RoleTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Sourceboat\Permission\Test;
namespace Sourceboat\Permission\Tests;

class RoleTest extends TestCase
{
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Sourceboat\Permission\Test;
namespace Sourceboat\Permission\Tests;

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Foundation\Application;
Expand Down
2 changes: 1 addition & 1 deletion tests/User.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Sourceboat\Permission\Test;
namespace Sourceboat\Permission\Tests;

use Illuminate\Auth\Authenticatable;
use Illuminate\Contracts\Auth\Access\Authorizable as AuthorizableContract;
Expand Down