Completed
Push — master ( 1a65d7...018a8e )
by Nil
03:48
created

JsonApiControllerTest::testPostAction()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
eloc 1
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
    public function testListAction()
19
    {
20
        $response = $this->call('GET', 'http://localhost/api/v1/employees');
21
22
        $this->assertEquals(200, $response->getStatusCode());
23
    }
24
25
    public function testGetDataModel()
26
    {
27
    }
28
29
    public function testGetAction()
30
    {
31
    }
32
33
    public function testPostAction()
34
    {
35
    }
36
37
    public function testPatchAction()
38
    {
39
    }
40
41
    public function testPutAction()
42
    {
43
    }
44
45
    public function testDeleteAction()
46
    {
47
    }
48
}
49