Skip to content

Commit b36e5f6

Browse files
author
Andrii Afanasiev
committed
extend tests
1 parent 005fe1e commit b36e5f6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Tests/SymfonyRollbarBundle/Twig/RollbarExtensionTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ public function testRollbarJs($env, $isDisabled)
4444
$this->assertInstanceOf(\Twig_SimpleFunction::class, $function);
4545

4646
$output = $rollbarTwig->rollbarJs();
47+
48+
$this->assertNotContains('var _rollbarConfig = var _rollbarConfig', $output);
4749
$this->assertContains('_rollbarConfig', $output);
4850
$this->assertContains('SOME_ROLLBAR_ACCESS_TOKEN_654321', $output);
4951
$this->assertContains('_rollbarConfig.rollbarJsUrl', $output);

0 commit comments

Comments
 (0)