Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit cb4d7ee

Browse files
committed
Correcting assertion, since MvcEvent#getError() is always a string
1 parent ecab36d commit cb4d7ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/MiddlewareListenerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,6 @@ public function testValidMiddlewareDispatchCancelsPreviousDispatchFailures()
374374

375375
self::assertInstanceOf(Response::class, $result);
376376
self::assertInstanceOf(Response::class, $event->getResult());
377-
self::assertNull($event->getError(), 'Previously set MVC errors are canceled by a successful dispatch');
377+
self::assertEmpty($event->getError(), 'Previously set MVC errors are canceled by a successful dispatch');
378378
}
379379
}

0 commit comments

Comments
 (0)