From ae15b96865400cb4864325572dac7c44189ba84d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 8 Jun 2014 18:20:54 +0200 Subject: php-Raven: 0.9.0 (backport) --- 155.patch | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 155.patch (limited to '155.patch') diff --git a/155.patch b/155.patch new file mode 100644 index 0000000..31d1ca4 --- /dev/null +++ b/155.patch @@ -0,0 +1,26 @@ +From bffc917a976f4d2d945c6e631b38dc7e15557b63 Mon Sep 17 00:00:00 2001 +From: Shawn Iwinski +Date: Sat, 7 Jun 2014 11:48:37 -0400 +Subject: [PATCH] Fix Raven_Tests_ClientTest::testGetAuthHeader + +--- + test/Raven/Tests/ClientTest.php | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/test/Raven/Tests/ClientTest.php b/test/Raven/Tests/ClientTest.php +index dbbc8dd..0a300a4 100644 +--- a/test/Raven/Tests/ClientTest.php ++++ b/test/Raven/Tests/ClientTest.php +@@ -509,7 +509,8 @@ public function testGetAuthHeader() { + $timestamp = '1234341324.340000'; + + $expected = "Sentry sentry_timestamp={$timestamp}, sentry_client={$clientstring}, " . +- "sentry_version=4, sentry_key=publickey, sentry_secret=secretkey"; ++ "sentry_version=" . Dummy_Raven_Client::PROTOCOL . ", " . ++ "sentry_key=publickey, sentry_secret=secretkey"; + + $this->assertEquals($expected, $client->get_auth_header($timestamp, 'raven-php/test', 'publickey', 'secretkey')); + } +-- +1.9.3 + -- cgit