mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-03-16 01:51:20 -05:00
30 lines
778 B
PHP
30 lines
778 B
PHP
<?php
|
|
|
|
beforeEach(function (): void {
|
|
$this->subject = new \App\Http\Requests\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);
|
|
});
|
|
|
|
test('rules', 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->rules();
|
|
|
|
$this->assertValidationRules([
|
|
'exchange' => [
|
|
'bail',
|
|
'required',
|
|
'exists:bon_exchange,id',
|
|
],
|
|
], $actual);
|
|
});
|
|
|
|
// test cases...
|