Skip to content
Permalink
Browse files

Let AfterTestHook extend TestHook instead of Hook

`AfterTestHook` has to extend `TestHook` instead of `Hook` to be added to the `TestListenerAdapter`, otherwise `executeAfterTest()` is never called.
  • Loading branch information...
dontub authored and sebastianbergmann committed Jul 24, 2019
1 parent 9d81926 commit 1c015f5c9fcc6fe97349f09adea5bf7148feec04
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Runner/Hook/AfterTestHook.php
@@ -9,7 +9,7 @@
*/
namespace PHPUnit\Runner;
interface AfterTestHook extends Hook
interface AfterTestHook extends TestHook
{
/**
* This hook will fire after any test, regardless of the result.

0 comments on commit 1c015f5

Please sign in to comment.
You can’t perform that action at this time.