From 1d9d623968e6e8860c435d8fefbe17c5dc398681 Mon Sep 17 00:00:00 2001 From: Sam Bisbee Date: Fri, 6 Apr 2012 15:54:01 -0400 Subject: [PATCH] Removing the travis test work. --- src/httpAdapters/SagNativeHTTPAdapter.php | 1 - tests/SagTest.php | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/httpAdapters/SagNativeHTTPAdapter.php b/src/httpAdapters/SagNativeHTTPAdapter.php index 9c90106..4fe0b7a 100644 --- a/src/httpAdapters/SagNativeHTTPAdapter.php +++ b/src/httpAdapters/SagNativeHTTPAdapter.php @@ -169,7 +169,6 @@ public function procPacket($method, $url, $data = null, $headers = array(), $spe } if(!$line && !$sockInfo['feof'] && !$sockInfo['timed_out']) { -var_dump($response); throw new SagException('Unexpectedly failed to retrieve a line from the socket before the end of the file.'); } diff --git a/tests/SagTest.php b/tests/SagTest.php index 65f3460..34a5e12 100644 --- a/tests/SagTest.php +++ b/tests/SagTest.php @@ -344,10 +344,7 @@ public function test_replication() try { //Provide a valid filter function that does not exist. - $r = $this->couch->replicate($this->couchDBName, $newDB, false, true, "test"); - var_dump($r); - - $this->assertTrue($r->body->ok); + $this->assertTrue($this->couch->replicate($this->couchDBName, $newDB, false, true, "test")->body->ok); $this->assertFalse(true); //should not get this far } catch(SagCouchException $e)