-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactored console command tests to use Application tester.
- Loading branch information
1 parent
58ce3f0
commit a08ec39
Showing
8 changed files
with
67 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
tests/phpunit/Functional/ApplicationFunctionalTestCase.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace YourNamespace\App\Tests\Functional; | ||
|
||
use PHPUnit\Framework\TestCase; | ||
use YourNamespace\App\Tests\Traits\ArrayTrait; | ||
use YourNamespace\App\Tests\Traits\AssertTrait; | ||
use YourNamespace\App\Tests\Traits\MockTrait; | ||
|
||
/** | ||
* Class ApplicationFunctionalTestCase. | ||
* | ||
* Base class to unit test scripts. | ||
*/ | ||
abstract class ApplicationFunctionalTestCase extends TestCase { | ||
|
||
use ArrayTrait; | ||
use AssertTrait; | ||
use MockTrait; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a08ec39
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 Published on https://scaffold-docs.netlify.app as production
🚀 Deployed on https://67615e00fc148b1a5423901b--scaffold-docs.netlify.app