From bd84adb4d5092f0f4e99349d0f226f3a02f6ea4c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 5 Aug 2016 11:32:28 +0200 Subject: php-nette: cleanup test suite --- php-nette-http-upstream.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 php-nette-http-upstream.patch (limited to 'php-nette-http-upstream.patch') diff --git a/php-nette-http-upstream.patch b/php-nette-http-upstream.patch new file mode 100644 index 0000000..8ecdfac --- /dev/null +++ b/php-nette-http-upstream.patch @@ -0,0 +1,20 @@ +From 3fb64f5ae5d1e161cb8ab12de1fb9958cea8a50b Mon Sep 17 00:00:00 2001 +From: David Grudl +Date: Thu, 14 Jul 2016 16:56:39 +0200 +Subject: [PATCH] travis: added PHP 7.1 + +--- + .travis.yml | 4 ++++ + tests/Http/Session.start.error.phpt | 2 +- + 2 files changed, 5 insertions(+), 1 deletion(-) + +diff --git a/tests/Http/Session.start.error.phpt b/tests/Http/Session.start.error.phpt +index 9bf7e87..ebd213f 100644 +--- a/tests/Http/Session.start.error.phpt ++++ b/tests/Http/Session.start.error.phpt +@@ -20,4 +20,4 @@ $session = new Session(new Nette\Http\Request(new Nette\Http\UrlScript), new Net + + Assert::exception(function () use ($session) { + $session->start(); +-}, Nette\InvalidStateException::class, '%a?%open(%A%) failed: %a%'); ++}, Nette\InvalidStateException::class); -- cgit