mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-23 09:02:41 +00:00
Fix feed update test
This commit is contained in:
parent
8e749bb73c
commit
1eea3b3a4c
1 changed files with 2 additions and 1 deletions
|
@ -693,7 +693,8 @@ class TestV1 extends \JKingWeb\Arsse\Test\AbstractTest {
|
||||||
} else {
|
} else {
|
||||||
\Phake::when(Arsse::$db)->subscriptionPropertiesSet->thenReturn($out);
|
\Phake::when(Arsse::$db)->subscriptionPropertiesSet->thenReturn($out);
|
||||||
}
|
}
|
||||||
$this->assertMessage($exp, $this->req("PUT", "/feeds/2112"));
|
$this->assertMessage($exp, $this->req("PUT", "/feeds/2112", $in));
|
||||||
|
\Phake::verify(Arsse::$db)->subscriptionPropertiesSet(Arsse::$user->id, 2112, $data);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function provideFeedModifications(): iterable {
|
public function provideFeedModifications(): iterable {
|
||||||
|
|
Loading…
Reference in a new issue