mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 13:12:41 +00:00
Fix broken test
This commit is contained in:
parent
f100cab558
commit
3a07156259
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ trait SeriesSubscription {
|
||||||
'order_type' => 1,
|
'order_type' => 1,
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
$this->assertSame($exp, Arsse::$db->subscriptionList($this->user)->getAll());
|
$this->assertResult($exp, Arsse::$db->subscriptionList($this->user));
|
||||||
Phake::verify(Arsse::$user)->authorize($this->user, "subscriptionList");
|
Phake::verify(Arsse::$user)->authorize($this->user, "subscriptionList");
|
||||||
$this->assertArraySubset($exp[0], Arsse::$db->subscriptionPropertiesGet($this->user, 1));
|
$this->assertArraySubset($exp[0], Arsse::$db->subscriptionPropertiesGet($this->user, 1));
|
||||||
Phake::verify(Arsse::$user)->authorize($this->user, "subscriptionPropertiesGet");
|
Phake::verify(Arsse::$user)->authorize($this->user, "subscriptionPropertiesGet");
|
||||||
|
|
Loading…
Reference in a new issue