Yaffs site version 1.1
[yaffs-website] / vendor / phpunit / phpunit / tests / Regression / Trac / 783.phpt
diff --git a/vendor/phpunit/phpunit/tests/Regression/Trac/783.phpt b/vendor/phpunit/phpunit/tests/Regression/Trac/783.phpt
new file mode 100644 (file)
index 0000000..73e5784
--- /dev/null
@@ -0,0 +1,21 @@
+--TEST--
+#783: Tests getting executed twice when using multiple groups
+--FILE--
+<?php
+$_SERVER['argv'][1] = '--no-configuration';
+$_SERVER['argv'][2] = '--group';
+$_SERVER['argv'][3] = 'foo,bar';
+$_SERVER['argv'][4] = 'ParentSuite';
+$_SERVER['argv'][5] = dirname(__FILE__) . '/783/ParentSuite.php';
+
+require __DIR__ . '/../../bootstrap.php';
+PHPUnit_TextUI_Command::main();
+?>
+--EXPECTF--
+PHPUnit %s by Sebastian Bergmann and contributors.
+
+..
+
+Time: %s, Memory: %s
+
+OK (2 tests, 0 assertions)