[BrowserKit] fixed test
This commit is contained in:
parent
16d406a9da
commit
f8e2c3b945
@ -67,7 +67,7 @@ class CookieJarTest extends \PHPUnit_Framework_TestCase
|
|||||||
$cookieJar->updateFromResponse($response);
|
$cookieJar->updateFromResponse($response);
|
||||||
|
|
||||||
$this->assertEquals('foo', $cookieJar->get('foo')->getValue(), '->updateFromResponse() updates cookies from a Response objects');
|
$this->assertEquals('foo', $cookieJar->get('foo')->getValue(), '->updateFromResponse() updates cookies from a Response objects');
|
||||||
$this->assertNull($cookieJar->get('bar'), '->updateFromResponse() updates cookies from a Response objects');
|
$this->assertEquals('bar', $cookieJar->get('bar')->getValue(), '->updateFromResponse() keeps existing cookies');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user