We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec3a0b2 commit 6d2178aCopy full SHA for 6d2178a
tests/TestCase/Controller/Component/ApiPaginationComponentTest.php
@@ -40,6 +40,18 @@ public function tearDown()
40
parent::tearDown();
41
}
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
/**
56
* Test that a non API or paginated request returns null.
57
*
0 commit comments