Skip to content

Commit 546f1ed

Browse files
committed
autoload tests dir
1 parent ae548fd commit 546f1ed

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed

composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
"Codecasts\\Auth\\JWT\\": "src/"
1515
}
1616
},
17+
"autoload-dev": {
18+
"psr-4": {
19+
"Tests\\": "tests/"
20+
}
21+
},
1722
"minimum-stability": "stable",
1823
"require": {
1924
"php": ">=7.0.0",

tests/Auth/GuardTest.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
3+
namespace Tests\Auth\Guard;
4+
5+
use Tests\TestCase;
6+
7+
class GuardTest extends TestCase
8+
{
9+
10+
}

tests/TestCase.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?php
2+
3+
namespace Tests;
4+
5+
class TestCase extends \Orchestra\Testbench\TestCase
6+
{
7+
8+
}

0 commit comments

Comments
 (0)