Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CarnetApp/CarnetNextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/phpunit/phpunit/tests/TextUI/phpt-env.phpt')
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/phpt-env.phpt12
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/phpunit/phpunit/tests/TextUI/phpt-env.phpt b/vendor/phpunit/phpunit/tests/TextUI/phpt-env.phpt
new file mode 100644
index 0000000..689cfe1
--- /dev/null
+++ b/vendor/phpunit/phpunit/tests/TextUI/phpt-env.phpt
@@ -0,0 +1,12 @@
+--TEST--
+PHPT runner should support ENV section
+--ENV--
+FOO=bar
+--FILE--
+<?php
+if (isset($_SERVER['FOO'])) {
+ var_dump($_SERVER['FOO']);
+}
+?>
+--EXPECTF_EXTERNAL--
+_files/phpt-env.expected.txt