Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
25 | public function testMethods() |
||
26 | { |
||
27 | $r = new Subscription(); |
||
28 | $this->assertEquals(RouteInterface::POST_METHOD, $r->create()[RouteInterface::METHOD_KEY]); |
||
29 | $this->assertEquals(RouteInterface::GET_METHOD, $r->getList()[RouteInterface::METHOD_KEY]); |
||
30 | $this->assertEquals(RouteInterface::GET_METHOD, $r->fetch()[RouteInterface::METHOD_KEY]); |
||
31 | $this->assertEquals(RouteInterface::POST_METHOD, $r->enable()[RouteInterface::METHOD_KEY]); |
||
32 | $this->assertEquals(RouteInterface::POST_METHOD, $r->disable()[RouteInterface::METHOD_KEY]); |
||
33 | } |
||
34 | } |
||
35 |