Update TestResourceListener.php