diff options
Diffstat (limited to 'tests/Actions/ActionImplementationTest.php')
-rw-r--r-- | tests/Actions/ActionImplementationTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Actions/ActionImplementationTest.php b/tests/Actions/ActionImplementationTest.php index 3f063682..bf5dc4f9 100644 --- a/tests/Actions/ActionImplementationTest.php +++ b/tests/Actions/ActionImplementationTest.php @@ -40,7 +40,7 @@ class ActionImplementationTest extends TestCase $this->setAction($path); - $methods = get_class_methods($this->obj); + $methods = array_diff(get_class_methods($this->obj), ['__construct']); sort($methods); $this->assertEquals($allowedMethods, $methods); |