Skip to content

Commit a0cb9a2

Browse files
authored
Merge pull request #5 from calderacc/fix-tests
Fix tests
2 parents 2521b75 + 8115a7f commit a0cb9a2

19 files changed

+19
-19
lines changed

Network/Google.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class Google extends AbstractNetwork
88
protected $name = 'Google+';
99

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

1313
/** @var string $backgroundColor */
1414
protected $backgroundColor = 'rgb(234, 66, 53)';

tests/Network/DiscordChatTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function testTextColor(): void
2929

3030
public function testIcon(): void
3131
{
32-
$this->assertEquals('fa-discord', (new DiscordChat())->getIcon());
32+
$this->assertEquals('fab fa-discord', (new DiscordChat())->getIcon());
3333
}
3434

3535
public function testDetectorPriority(): void

tests/Network/FacebookEventTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function testTextColor(): void
2929

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

3535
public function testDetectorPriority(): void

tests/Network/FacebookGroupTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function testTextColor(): void
2929

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

3535
public function testDetectorPriority(): void

tests/Network/FacebookPageTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function testTextColor(): void
2929

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

3535
public function testDetectorPriority(): void

tests/Network/FacebookProfileTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function testTextColor(): void
2929

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

3535
public function testDetectorPriority(): void

tests/Network/FlickrTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function testTextColor(): void
2929

3030
public function testIcon(): void
3131
{
32-
$this->assertEquals('fa-flickr', (new Flickr())->getIcon());
32+
$this->assertEquals('fab fa-flickr', (new Flickr())->getIcon());
3333
}
3434

3535
public function testDetectorPriority(): void

tests/Network/GoogleTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function testTextColor(): void
2929

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

3535
public function testDetectorPriority(): void

tests/Network/HomepageTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function testTextColor(): void
2929

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

3535
public function testDetectorPriority(): void

tests/Network/InstagramPhotoTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function testTextColor(): void
2929

3030
public function testIcon(): void
3131
{
32-
$this->assertEquals('fa-instagram', (new InstagramPhoto())->getIcon());
32+
$this->assertEquals('fab fa-instagram', (new InstagramPhoto())->getIcon());
3333
}
3434

3535
public function testDetectorPriority(): void

0 commit comments

Comments
 (0)