From 81e62e66d64117c85792bfb5413ba2fc8dd7b528 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Sun, 1 May 2016 19:05:02 +0200 Subject: fix dir separator in test --- Zend/tests/bug72101.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zend/tests/bug72101.phpt b/Zend/tests/bug72101.phpt index ed70b962d7..a04425cee4 100644 --- a/Zend/tests/bug72101.phpt +++ b/Zend/tests/bug72101.phpt @@ -77,7 +77,7 @@ $foo->bar($a, $b, $c); Fatal error: Uncaught Error: Class 'DoesNotExists' not found in %sbug72101.php:61 Stack trace: #0 %sbug72101.php(8): {closure}(2, 'Parameter 1 to ...', '%s', 8, Array) -#1 %s/bug72101.php(27): PHPUnit_Framework_MockObject_Stub_ReturnCallback->invoke(Object(PHPUnit_Framework_MockObject_Invocation_Static)) +#1 %sbug72101.php(27): PHPUnit_Framework_MockObject_Stub_ReturnCallback->invoke(Object(PHPUnit_Framework_MockObject_Invocation_Static)) #2 %sbug72101.php(19): PHPUnit_Framework_MockObject_Matcher->invoked(Object(PHPUnit_Framework_MockObject_Invocation_Static)) #3 %sbug72101.php(51): PHPUnit_Framework_MockObject_InvocationMocker->invoke(Object(PHPUnit_Framework_MockObject_Invocation_Static)) #4 %sbug72101.php(72): Mock_MethodCallbackByReference_7b180d26->bar(0, 0, 0) -- cgit v1.2.1 From 5360b3de338f2945586ada962ef078ca2e43c5f3 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Sun, 1 May 2016 19:25:39 +0200 Subject: fix test if unlink fails occasionally --- ext/pdo_sqlite/tests/bug70221.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/pdo_sqlite/tests/bug70221.phpt b/ext/pdo_sqlite/tests/bug70221.phpt index bead80d233..2d1aea0e8b 100644 --- a/ext/pdo_sqlite/tests/bug70221.phpt +++ b/ext/pdo_sqlite/tests/bug70221.phpt @@ -12,7 +12,7 @@ function _test() { return 42; } $db->sqliteCreateFunction('test', '_test', 0); print("Everything is fine, no exceptions here\n"); unset($db); -unlink($dbfile); +@unlink($dbfile); ?> --EXPECT-- Everything is fine, no exceptions here -- cgit v1.2.1