Skip to content

Commit

Permalink
extend tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrii Afanasiev committed Jun 21, 2018
1 parent 005fe1e commit b36e5f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tests/SymfonyRollbarBundle/Twig/RollbarExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ public function testRollbarJs($env, $isDisabled)
$this->assertInstanceOf(\Twig_SimpleFunction::class, $function);

$output = $rollbarTwig->rollbarJs();

$this->assertNotContains('var _rollbarConfig = var _rollbarConfig', $output);
$this->assertContains('_rollbarConfig', $output);
$this->assertContains('SOME_ROLLBAR_ACCESS_TOKEN_654321', $output);
$this->assertContains('_rollbarConfig.rollbarJsUrl', $output);
Expand Down

0 comments on commit b36e5f6

Please sign in to comment.