diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/businesslayer/StatusFlagTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/businesslayer/StatusFlagTest.php b/tests/unit/businesslayer/StatusFlagTest.php index 12e78d8cc..1e2d0b622 100644 --- a/tests/unit/businesslayer/StatusFlagTest.php +++ b/tests/unit/businesslayer/StatusFlagTest.php @@ -41,7 +41,7 @@ class StatusFlagTest extends TestUtility { public function testTypeToStatusUnreadStarred(){ - $expected = StatusFlag::UNREAD | StatusFlag::STARRED; + $expected = StatusFlag::STARRED; $status = $this->statusFlag->typeToStatus(FeedType::STARRED, false); $this->assertEquals($expected, $status); @@ -57,7 +57,7 @@ class StatusFlagTest extends TestUtility { public function testTypeToStatusReadStarred(){ - $expected = (~StatusFlag::UNREAD) & StatusFlag::STARRED; + $expected = StatusFlag::STARRED; $status = $this->statusFlag->typeToStatus(FeedType::STARRED, true); $this->assertEquals($expected, $status); |