mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-03-16 18:11:13 -05:00
update: test suite
This commit is contained in:
@@ -1,12 +1,23 @@
|
||||
<?php
|
||||
/**
|
||||
* NOTICE OF LICENSE.
|
||||
*
|
||||
* UNIT3D Community Edition is open-sourced software licensed under the GNU Affero General Public License v3.0
|
||||
* The details is bundled with this project in the file LICENSE.txt.
|
||||
*
|
||||
* @project UNIT3D Community Edition
|
||||
*
|
||||
* @author HDVinnie <hdinnovations@protonmail.com>
|
||||
* @license https://www.gnu.org/licenses/agpl-3.0.en.html/ GNU Affero General Public License v3.0
|
||||
*/
|
||||
|
||||
use App\Http\Requests\StoreTransactionRequest;
|
||||
|
||||
beforeEach(function (): void {
|
||||
$this->subject = new \App\Http\Requests\StoreTransactionRequest();
|
||||
$this->subject = new StoreTransactionRequest();
|
||||
});
|
||||
|
||||
test('authorize', function (): void {
|
||||
$this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.');
|
||||
|
||||
$actual = $this->subject->authorize();
|
||||
|
||||
$this->assertTrue($actual);
|
||||
@@ -25,5 +36,3 @@ test('rules', function (): void {
|
||||
],
|
||||
], $actual);
|
||||
});
|
||||
|
||||
// test cases...
|
||||
|
||||
Reference in New Issue
Block a user