File tree Expand file tree Collapse file tree 2 files changed +0
-22
lines changed
tests/TestCase/Controller/Component Expand file tree Collapse file tree 2 files changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -29,16 +29,6 @@ class ApiPaginationComponent extends Component
2929 */
3030 protected $ pagingInfo = [];
3131
32- /**
33- * {@inheritDoc}
34- *
35- * @return array
36- */
37- public function implementedEvents ()
38- {
39- return [];
40- }
41-
4232 /**
4333 * Injects the pagination info into the response if the current request is a
4434 * JSON or XML request with pagination.
Original file line number Diff line number Diff line change @@ -40,18 +40,6 @@ public function tearDown()
4040 parent ::tearDown ();
4141 }
4242
43- /**
44- * Simple test to check if implementedEvents returns an empty array.
45- */
46- public function testImplementedEvents ()
47- {
48- $ apiPaginationComponent = new ApiPaginationComponent ($ this ->controller ->components ());
49- $ result = $ apiPaginationComponent ->implementedEvents ();
50- $ expected = [];
51-
52- $ this ->assertSame ($ expected , $ result );
53- }
54-
5543 /**
5644 * Test that a non API or paginated request returns null.
5745 *
You can’t perform that action at this time.
0 commit comments