Revert "Avoid SOAP constant error in PHPUnit"

This reverts commit 47f5a6a932d9f2a62f5dd04f0d7164d4a619be3a.