summaryrefslogtreecommitdiffstats
path: root/tests/unit/service/StatusFlagTest.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-10-21 16:45:36 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-10-21 16:45:36 +0200
commit42d69a95f3276a2d6089ca68f635c4e2f6aa7a23 (patch)
tree6a17fd7998f291e6dec1d996c1e7c724b92b8e58 /tests/unit/service/StatusFlagTest.php
parent0e6598b0734fb927109f745d9c0f3a8605a30ca5 (diff)
convert tabs indention to indention with 4 spaces because of mixing of both variants in code and better readability on github and websites because you cant set the indention width there and 8 spaces will be used for a tab
Diffstat (limited to 'tests/unit/service/StatusFlagTest.php')
-rw-r--r--tests/unit/service/StatusFlagTest.php48
1 files changed, 24 insertions, 24 deletions
diff --git a/tests/unit/service/StatusFlagTest.php b/tests/unit/service/StatusFlagTest.php
index 372fdbd88..820560aa4 100644
--- a/tests/unit/service/StatusFlagTest.php
+++ b/tests/unit/service/StatusFlagTest.php
@@ -16,42 +16,42 @@ namespace OCA\News\Db;
class StatusFlagTest extends \PHPUnit_Framework_TestCase {
- private $statusFlag;
+ private $statusFlag;
- protected function setUp(){
- $this->statusFlag = new StatusFlag();
- }
+ protected function setUp(){
+ $this->statusFlag = new StatusFlag();
+ }
- public function testTypeToStatusUnreadStarred(){
- $expected = StatusFlag::STARRED;
- $status = $this->statusFlag->typeToStatus(FeedType::STARRED, false);
+ public function testTypeToStatusUnreadStarred(){
+ $expected = StatusFlag::STARRED;
+ $status = $this->statusFlag->typeToStatus(FeedType::STARRED, false);
- $this->assertEquals($expected, $status);
- }
+ $this->assertEquals($expected, $status);
+ }
- public function testTypeToStatusUnread(){
- $expected = StatusFlag::UNREAD;
- $status = $this->statusFlag->typeToStatus(FeedType::FEED, false);
+ public function testTypeToStatusUnread(){
+ $expected = StatusFlag::UNREAD;
+ $status = $this->statusFlag->typeToStatus(FeedType::FEED, false);
- $this->assertEquals($expected, $status);
- }
+ $this->assertEquals($expected, $status);
+ }
- public function testTypeToStatusReadStarred(){
- $expected = StatusFlag::STARRED;
- $status = $this->statusFlag->typeToStatus(FeedType::STARRED, true);
+ public function testTypeToStatusReadStarred(){
+ $expected = StatusFlag::STARRED;
+ $status = $this->statusFlag->typeToStatus(FeedType::STARRED, true);
- $this->assertEquals($expected, $status);
- }
+ $this->assertEquals($expected, $status);
+ }
- public function testTypeToStatusRead(){
- $expected = (~StatusFlag::UNREAD) & 0;
- $status = $this->statusFlag->typeToStatus(FeedType::FEED, true);
+ public function testTypeToStatusRead(){
+ $expected = (~StatusFlag::UNREAD) & 0;
+ $status = $this->statusFlag->typeToStatus(FeedType::FEED, true);
- $this->assertEquals($expected, $status);
- }
+ $this->assertEquals($expected, $status);
+ }
} \ No newline at end of file