From 06b0cb62a0add2398bfdea4c2bd2c3718922e0bb Mon Sep 17 00:00:00 2001 From: Zach Borboa Date: Sun, 22 Feb 2015 01:18:42 +0700 Subject: [PATCH] Combine http basic auth tests --- tests/PHPCurlClass/PHPCurlClassTest.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/PHPCurlClass/PHPCurlClassTest.php b/tests/PHPCurlClass/PHPCurlClassTest.php index d519a27..9364da5 100644 --- a/tests/PHPCurlClass/PHPCurlClassTest.php +++ b/tests/PHPCurlClass/PHPCurlClassTest.php @@ -367,14 +367,11 @@ class CurlTest extends PHPUnit_Framework_TestCase $this->assertFalse(file_exists($downloaded_file_path)); } - public function testBasicHttpAuth401Unauthorized() + public function testBasicHttpAuth() { $test = new Test(); $this->assertEquals('canceled', $test->server('http_basic_auth', 'GET')); - } - public function testBasicHttpAuthSuccess() - { $username = 'myusername'; $password = 'mypassword'; $test = new Test();