Fixed failed PHPUnit for extension due to current change.

Signed-off-by: crynobone <crynobone@gmail.com>