From c45ce44912e3e54ecdf0a19af2d7df1960aa2962 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Tue, 17 Apr 2012 14:10:43 +0200 Subject: added phpquery to test response This should make it much easier to do integration tests based on the new TestRequest utility. --- _testing/tests/testing/inttests_phpquery.test.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 _testing/tests/testing/inttests_phpquery.test.php (limited to '_testing/tests') diff --git a/_testing/tests/testing/inttests_phpquery.test.php b/_testing/tests/testing/inttests_phpquery.test.php new file mode 100644 index 000000000..188d834cb --- /dev/null +++ b/_testing/tests/testing/inttests_phpquery.test.php @@ -0,0 +1,18 @@ +execute(); + + $this->assertEquals('DokuWiki', $response->queryHTML('meta[name="generator"]')->attr('content') ); + } +} -- cgit v1.2.3