Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Commit 927c00d

Browse files
author
Jurian Sluiman
committed
Update Zend\Authentication for Zend\Http changes
1 parent f9f8093 commit 927c00d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

test/ClientTest.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public function testClientRetrievesUppercaseHttpMethodFromRequestObject()
1414
$client->setMethod('post');
1515
$this->assertEquals(Client::ENC_URLENCODED, $client->getEncType());
1616
}
17-
17+
1818
public function testIfZeroValueCookiesCanBeSet()
1919
{
2020
try {
@@ -27,23 +27,23 @@ public function testIfZeroValueCookiesCanBeSet()
2727
}
2828
$this->assertTrue(true);
2929
}
30-
30+
3131
/**
3232
* @expectedException Zend\Http\Exception\InvalidArgumentException
3333
*/
3434
public function testIfNullValueCookiesThrowsException()
3535
{
3636
$client = new Client();
3737
$client->addCookie("test", null);
38-
}
38+
}
3939

4040
public function testIfCookieHeaderCanBeSet()
4141
{
4242
$header = new SetCookie('foo');
4343

4444
$client = new Client();
4545
$client->addCookie($header);
46-
46+
4747
$cookies = $client->getCookies();
4848
$this->assertEquals(1, count($cookies));
4949
$this->assertEquals($header, $cookies['foo']);
@@ -58,7 +58,7 @@ public function testIfArrayOfHeadersCanBeSet()
5858

5959
$client = new Client();
6060
$client->addCookie($headers);
61-
61+
6262
$cookies = $client->getCookies();
6363
$this->assertEquals(2, count($cookies));
6464
}
@@ -69,10 +69,10 @@ public function testIfArrayIteratorOfHeadersCanBeSet()
6969
new SetCookie('foo'),
7070
new SetCookie('bar')
7171
));
72-
72+
7373
$client = new Client();
7474
$client->addCookie($headers);
75-
75+
7676
$cookies = $client->getCookies();
7777
$this->assertEquals(2, count($cookies));
7878
}

0 commit comments

Comments
 (0)