From 570de60437d8e6edae76edcf449213d3123b19cc Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Sun, 24 Jul 2005 18:22:12 +0000 Subject: [PATCH] - add tests --- tests/INI_001.diff | 7 +++++++ tests/allowed_methods_001.phpt | 18 ++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 tests/INI_001.diff create mode 100644 tests/allowed_methods_001.phpt diff --git a/tests/INI_001.diff b/tests/INI_001.diff new file mode 100644 index 0000000..ee158d0 --- /dev/null +++ b/tests/INI_001.diff @@ -0,0 +1,7 @@ +001+ +001- %sTEST +002- bool(true) +003- string(9) "cache.log" +004- bool(true) +005- string(15) "POST, HEAD, GET" +006- Done \ No newline at end of file diff --git a/tests/allowed_methods_001.phpt b/tests/allowed_methods_001.phpt new file mode 100644 index 0000000..2f2c4e7 --- /dev/null +++ b/tests/allowed_methods_001.phpt @@ -0,0 +1,18 @@ +--TEST-- +allowed methods +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +Status: 405 +Content-type: %s +X-Powered-By: PHP/%s +Allow: POST + -- 2.30.2