mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-20 08:42:03 -05:00
60 lines
1.3 KiB
PHP
60 lines
1.3 KiB
PHP
<?php
|
|
|
|
namespace Tests\Unit\Http\Requests;
|
|
|
|
use Tests\TestCase;
|
|
|
|
/**
|
|
* @see \App\Http\Requests\StorePoll
|
|
*/
|
|
class StorePollTest extends TestCase
|
|
{
|
|
/** @var \App\Http\Requests\StorePoll */
|
|
private $subject;
|
|
|
|
protected function setUp(): void
|
|
{
|
|
parent::setUp();
|
|
|
|
$this->subject = new \App\Http\Requests\StorePoll();
|
|
}
|
|
|
|
/**
|
|
* @test
|
|
*/
|
|
public function authorize()
|
|
{
|
|
$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
|
|
*/
|
|
public function rules()
|
|
{
|
|
$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->assertEquals([], $actual);
|
|
}
|
|
|
|
/**
|
|
* @test
|
|
*/
|
|
public function messages()
|
|
{
|
|
$this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.');
|
|
|
|
$actual = $this->subject->messages();
|
|
|
|
$this->assertEquals([], $actual);
|
|
}
|
|
|
|
// test cases...
|
|
}
|