diff --git a/tests/DispatcherTest.php b/tests/DispatcherTest.php index c3914b4..6a9ff3d 100644 --- a/tests/DispatcherTest.php +++ b/tests/DispatcherTest.php @@ -92,11 +92,11 @@ class DispatcherTest extends TestCase // Map a static function public function testStaticFunctionMapping() { - $this->dispatcher->set('map2', 'tests\classes\Hello::sayHi'); + $this->dispatcher->set('map2', 'tests\classes\Hello::sayBye'); $result = $this->dispatcher->run('map2'); - self::assertEquals('hello', $result); + self::assertEquals('goodbye', $result); } // Map a class method