File tree 2 files changed +0
-22
lines changed
tests/TestCase/Controller/Component
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
29
29
*/
30
30
protected $ pagingInfo = [];
31
31
32
- /**
33
- * {@inheritDoc}
34
- *
35
- * @return array
36
- */
37
- public function implementedEvents ()
38
- {
39
- return [];
40
- }
41
-
42
32
/**
43
33
* Injects the pagination info into the response if the current request is a
44
34
* JSON or XML request with pagination.
Original file line number Diff line number Diff line change @@ -40,18 +40,6 @@ public function tearDown()
40
40
parent ::tearDown ();
41
41
}
42
42
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
-
55
43
/**
56
44
* Test that a non API or paginated request returns null.
57
45
*
You can’t perform that action at this time.
0 commit comments