Completed
Push — master ( 018a8e...106059 )
by Nil
02:26
created

JsonApiControllerTest::setUp()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
/**
3
 * Author: Nil Portugués Calderó <[email protected]>
4
 * Date: 12/9/15
5
 * Time: 3:05 PM.
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
11
namespace NilPortugues\Tests\Laravel5\JsonApi;
12
13
/**
14
 * Class JsonApiControllerTest.
15
 */
16
class JsonApiControllerTest extends LaravelTestCase
17
{
18
   
19
    /**
20
     * Setup DB before each test.
21
     */
22
    public function setUp()
23
    {
24
        parent::setUp();
25
    }
26
27
    public function testListAction()
28
    {
29
        $response = $this->call('GET', 'http://localhost/api/v1/employees');
30
31
        $this->assertEquals(200, $response->getStatusCode());
32
    }
33
34
    public function testGetDataModel()
35
    {
36
    }
37
38
    public function testGetAction()
39
    {
40
    }
41
42
    public function testPostAction()
43
    {
44
    }
45
46
    public function testPatchAction()
47
    {
48
    }
49
50
    public function testPutAction()
51
    {
52
    }
53
54
    public function testDeleteAction()
55
    {
56
    }
57
}
58