Skip to content

Commit

Permalink
updating test to verify CDN link
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinkhill committed Mar 14, 2017
1 parent 550e061 commit ffda411
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/FontAwesomeTest.php
Expand Up @@ -38,10 +38,12 @@ public function testApplyingTransformationClassThatDoesntExistAsModifier()
{
echo $this->fa->upsideDown('twitter');
}

public function testCdnLinkOutput()
{
$this->expectOutputString('<link href="//netdna.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css" rel="stylesheet">');
$this->expectOutputString(
'<link rel="stylesheet" href="https://opensource.keycdn.com/fontawesome/4.7.0/font-awesome.min.css" integrity="sha384-dNpIIXE8U05kAbPhy3G1cz+yZmTzA6CY8Vg/u2L9xRnHjJiAK76m2BIEaSEV+/aU" crossorigin="anonymous">'
);

echo FontAwesome::css();
}
Expand Down

0 comments on commit ffda411

Please sign in to comment.