Skip to content

Commit

Permalink
Merge pull request #5 from calderacc/fix-tests
Browse files Browse the repository at this point in the history
Fix tests
  • Loading branch information
maltehuebner authored Oct 30, 2019
2 parents 2521b75 + 8115a7f commit a0cb9a2
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion Network/Google.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Google extends AbstractNetwork
protected $name = 'Google+';

/** @var string $icon */
protected $icon = 'fab google-plus-g';
protected $icon = 'fab fa-google-plus-g';

/** @var string $backgroundColor */
protected $backgroundColor = 'rgb(234, 66, 53)';
Expand Down
2 changes: 1 addition & 1 deletion tests/Network/DiscordChatTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function testTextColor(): void

public function testIcon(): void
{
$this->assertEquals('fa-discord', (new DiscordChat())->getIcon());
$this->assertEquals('fab fa-discord', (new DiscordChat())->getIcon());
}

public function testDetectorPriority(): void
Expand Down
2 changes: 1 addition & 1 deletion tests/Network/FacebookEventTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function testTextColor(): void

public function testIcon(): void
{
$this->assertEquals('fa-facebook', (new FacebookEvent())->getIcon());
$this->assertEquals('fab fa-facebook-f', (new FacebookEvent())->getIcon());
}

public function testDetectorPriority(): void
Expand Down
2 changes: 1 addition & 1 deletion tests/Network/FacebookGroupTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function testTextColor(): void

public function testIcon(): void
{
$this->assertEquals('fa-facebook', (new FacebookGroup())->getIcon());
$this->assertEquals('fab fa-facebook-f', (new FacebookGroup())->getIcon());
}

public function testDetectorPriority(): void
Expand Down
2 changes: 1 addition & 1 deletion tests/Network/FacebookPageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function testTextColor(): void

public function testIcon(): void
{
$this->assertEquals('fa-facebook', (new FacebookPage())->getIcon());
$this->assertEquals('fab fa-facebook-f', (new FacebookPage())->getIcon());
}

public function testDetectorPriority(): void
Expand Down
2 changes: 1 addition & 1 deletion tests/Network/FacebookProfileTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function testTextColor(): void

public function testIcon(): void
{
$this->assertEquals('fa-facebook', (new FacebookProfile())->getIcon());
$this->assertEquals('fab fa-facebook-f', (new FacebookProfile())->getIcon());
}

public function testDetectorPriority(): void
Expand Down
2 changes: 1 addition & 1 deletion tests/Network/FlickrTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function testTextColor(): void

public function testIcon(): void
{
$this->assertEquals('fa-flickr', (new Flickr())->getIcon());
$this->assertEquals('fab fa-flickr', (new Flickr())->getIcon());
}

public function testDetectorPriority(): void
Expand Down
2 changes: 1 addition & 1 deletion tests/Network/GoogleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function testTextColor(): void

public function testIcon(): void
{
$this->assertEquals('fa-google-plus', (new Google())->getIcon());
$this->assertEquals('fab fa-google-plus-g', (new Google())->getIcon());
}

public function testDetectorPriority(): void
Expand Down
2 changes: 1 addition & 1 deletion tests/Network/HomepageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function testTextColor(): void

public function testIcon(): void
{
$this->assertEquals('fa-globe', (new Homepage())->getIcon());
$this->assertEquals('far fa-home', (new Homepage())->getIcon());
}

public function testDetectorPriority(): void
Expand Down
2 changes: 1 addition & 1 deletion tests/Network/InstagramPhotoTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function testTextColor(): void

public function testIcon(): void
{
$this->assertEquals('fa-instagram', (new InstagramPhoto())->getIcon());
$this->assertEquals('fab fa-instagram', (new InstagramPhoto())->getIcon());
}

public function testDetectorPriority(): void
Expand Down
2 changes: 1 addition & 1 deletion tests/Network/InstagramProfileTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function testTextColor(): void

public function testIcon(): void
{
$this->assertEquals('fa-instagram', (new InstagramProfile())->getIcon());
$this->assertEquals('fab fa-instagram', (new InstagramProfile())->getIcon());
}

public function testDetectorPriority(): void
Expand Down
2 changes: 1 addition & 1 deletion tests/Network/TelegramChatTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function testTextColor(): void

public function testIcon(): void
{
$this->assertEquals('fa-telegram', (new TelegramChat())->getIcon());
$this->assertEquals('fab fa-telegram-plane', (new TelegramChat())->getIcon());
}

public function testDetectorPriority(): void
Expand Down
2 changes: 1 addition & 1 deletion tests/Network/TumblrTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function testTextColor(): void

public function testIcon(): void
{
$this->assertEquals('fa-tumblr', (new Tumblr())->getIcon());
$this->assertEquals('fab fa-tumblr', (new Tumblr())->getIcon());
}

public function testDetectorPriority(): void
Expand Down
2 changes: 1 addition & 1 deletion tests/Network/TwitterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function testTextColor(): void

public function testIcon(): void
{
$this->assertEquals('fa-twitter', (new Twitter())->getIcon());
$this->assertEquals('fab fa-twitter', (new Twitter())->getIcon());
}

public function testDetectorPriority(): void
Expand Down
2 changes: 1 addition & 1 deletion tests/Network/WhatsappChatTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function testTextColor(): void

public function testIcon(): void
{
$this->assertEquals('fa-whatsapp', (new WhatsappChat())->getIcon());
$this->assertEquals('fab fa-whatsapp', (new WhatsappChat())->getIcon());
}

public function testDetectorPriority(): void
Expand Down
2 changes: 1 addition & 1 deletion tests/Network/YoutubeChannelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function testTextColor(): void

public function testIcon(): void
{
$this->assertEquals('fa-youtube', (new YoutubeChannel())->getIcon());
$this->assertEquals('fab fa-youtube', (new YoutubeChannel())->getIcon());
}

public function testDetectorPriority(): void
Expand Down
2 changes: 1 addition & 1 deletion tests/Network/YoutubePlaylistTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function testTextColor(): void

public function testIcon(): void
{
$this->assertEquals('fa-youtube', (new YoutubePlaylist())->getIcon());
$this->assertEquals('fab fa-youtube', (new YoutubePlaylist())->getIcon());
}

public function testDetectorPriority(): void
Expand Down
2 changes: 1 addition & 1 deletion tests/Network/YoutubeUserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function testTextColor(): void

public function testIcon(): void
{
$this->assertEquals('fa-youtube', (new YoutubeUser())->getIcon());
$this->assertEquals('fab fa-youtube', (new YoutubeUser())->getIcon());
}

public function testDetectorPriority(): void
Expand Down
2 changes: 1 addition & 1 deletion tests/Network/YoutubeVideoTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function testTextColor(): void

public function testIcon(): void
{
$this->assertEquals('fa-youtube', (new YoutubeVideo())->getIcon());
$this->assertEquals('fab fa-youtube', (new YoutubeVideo())->getIcon());
}

public function testDetectorPriority(): void
Expand Down

0 comments on commit a0cb9a2

Please sign in to comment.