use cookie jar instead of manually creating the cookie
This commit is contained in:
parent
3e5cadc764
commit
6b02db7920
1 changed files with 1 additions and 5 deletions
|
@ -573,12 +573,8 @@ TXT;
|
||||||
|
|
||||||
$bms = $this->bs->getBookmarks(0, null, $uId);
|
$bms = $this->bs->getBookmarks(0, null, $uId);
|
||||||
$this->assertEquals(1, count($bms['bookmarks']));
|
$this->assertEquals(1, count($bms['bookmarks']));
|
||||||
$bm = reset($bms['bookmarks']);
|
|
||||||
$bmId = $bm['bId'];
|
|
||||||
$oldUid = $uId;
|
|
||||||
$user = $this->us->getUser($uId);
|
$user = $this->us->getUser($uId);
|
||||||
$userId = $user['username'];
|
$reqUrl = $GLOBALS['unittestUrl'] . 'bookmarks.php/' . $user['username'] . '?action=get' . '&unittestMode=1';
|
||||||
$reqUrl = $GLOBALS['unittestUrl'] . 'bookmarks.php/' . $userId . '?action=get' . '&unittestMode=1';
|
|
||||||
|
|
||||||
list($req, $uId) = $this->getAuthRequest('?unittestMode=1');
|
list($req, $uId) = $this->getAuthRequest('?unittestMode=1');
|
||||||
$req->setMethod(HTTP_Request2::METHOD_POST);
|
$req->setMethod(HTTP_Request2::METHOD_POST);
|
||||||
|
|
Loading…
Reference in a new issue