phpunit error message relates to *edit* action