[Bridge/PhpUnit] fix tests

This commit is contained in:
Nicolas Grekas 2018-02-11 19:37:22 +01:00
parent 292fb56c70
commit edd507af78
3 changed files with 15 additions and 0 deletions

View File

@ -21,3 +21,5 @@ eval("@trigger_error('who knows where I come from?', E_USER_DEPRECATED);")
--EXPECTF--
Other deprecation notices (1)
1x: who knows where I come from?

View File

@ -23,3 +23,5 @@ include 'phar://deprecation.phar/deprecation.php';
--EXPECTF--
Other deprecation notices (1)
1x: I come from… afar! :D

View File

@ -22,8 +22,19 @@ require __DIR__.'/fake_vendor/acme/lib/deprecation_riddled.php';
--EXPECTF--
Unsilenced deprecation notices (2)
1x: unsilenced foo deprecation
1x in FooTestCase::testLegacyFoo
1x: unsilenced bar deprecation
1x in FooTestCase::testNonLegacyBar
Remaining vendor deprecation notices (1)
1x: silenced bar deprecation
1x in FooTestCase::testNonLegacyBar
Legacy deprecation notices (1)
Other deprecation notices (1)
1x: root deprecation