Skip to content

Unit test "testDispatch" fails #3

@szepeviktor

Description

@szepeviktor
1) IronBound\Psr14WP\Tests\EventDispatcherTest::testDispatch
Expectation failed for method name is "call" when invoked 7 time(s)
Parameter 0 for invocation #5 IronBound\Psr14WP\EventDispatcher::call('IronBound\Psr14WP\Tests\Stub\...erface', IronBound\Psr14WP\Tests\Stub\Stub Object ()): void does not match expected value.
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'IronBound\Psr14WP\Tests\Stub\SiblingInterface'
+'IronBound\Psr14WP\Tests\Stub\ParentInterface'

/home/viktor/tmp/psr-14-wp/src/EventDispatcher.php:55
/home/viktor/tmp/psr-14-wp/tests/EventDispatcherTest.php:49

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions