-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathItemTest.php
More file actions
58 lines (48 loc) · 1011 Bytes
/
ItemTest.php
File metadata and controls
58 lines (48 loc) · 1011 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?php
namespace Tests\Feature;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Foundation\Testing\WithFaker;
use Tests\TestCase;
class ItemTest extends TestCase
{
/**
* A basic feature test example.
*
* @return void
*/
public function testIndex()
{
$response = $this->get('/items');
$response->assertStatus(200);
}
/**
* A basic feature test example.
*
* @return void
*/
public function testStore()
{
$response = $this->get('/items');
$response->assertStatus(200);
}
/**
* A basic feature test example.
*
* @return void
*/
public function testUpdate()
{
$response = $this->get('/items');
$response->assertStatus(200);
}
/**
* A basic feature test example.
*
* @return void
*/
public function testDelete()
{
$response = $this->get('/items');
$response->assertStatus(200);
}
}