summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/classes/factory_and_singleton_003.phpt2
-rwxr-xr-xtests/classes/factory_and_singleton_004.phpt2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/classes/factory_and_singleton_003.phpt b/tests/classes/factory_and_singleton_003.phpt
index d81cc4642c..3d50a810a6 100755
--- a/tests/classes/factory_and_singleton_003.phpt
+++ b/tests/classes/factory_and_singleton_003.phpt
@@ -15,4 +15,4 @@ $obj = new test;
echo "Done\n";
?>
--EXPECTF--
-Fatal error: Call to protected test::__construct() from context '' %sfactory_and_singleton_003.php on line %d
+Fatal error: Call to protected test::__construct() from invalid context in %s on line %d
diff --git a/tests/classes/factory_and_singleton_004.phpt b/tests/classes/factory_and_singleton_004.phpt
index 01c53d85a3..14edcb1fc8 100755
--- a/tests/classes/factory_and_singleton_004.phpt
+++ b/tests/classes/factory_and_singleton_004.phpt
@@ -15,4 +15,4 @@ $obj = new test;
echo "Done\n";
?>
--EXPECTF--
-Fatal error: Call to private test::__construct() from context '' %sfactory_and_singleton_004.php on line %d
+Fatal error: Call to private test::__construct() from invalid context in %s on line %d