update: test suite

This commit is contained in:
HDVinnie
2023-07-11 16:48:07 -04:00
parent 89d776b1bb
commit 8daf39c331
288 changed files with 5252 additions and 3220 deletions

View File

@@ -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...