summaryrefslogtreecommitdiffstats
path: root/php-nette-http-upstream.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-08-05 11:32:28 +0200
committerRemi Collet <fedora@famillecollet.com>2016-08-05 11:32:28 +0200
commitbd84adb4d5092f0f4e99349d0f226f3a02f6ea4c (patch)
tree322703336841c35b21227f47058457d83df0a10d /php-nette-http-upstream.patch
parent220024efcd08e0907a0d1d7a186d1cc89cdab53d (diff)
php-nette: cleanup test suite
Diffstat (limited to 'php-nette-http-upstream.patch')
-rw-r--r--php-nette-http-upstream.patch20
1 files changed, 20 insertions, 0 deletions
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 <david@grudl.com>
+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);