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