diff --git a/Tests/SymfonyRollbarBundle/Twig/RollbarExtensionTest.php b/Tests/SymfonyRollbarBundle/Twig/RollbarExtensionTest.php index b1696f0..773d130 100755 --- a/Tests/SymfonyRollbarBundle/Twig/RollbarExtensionTest.php +++ b/Tests/SymfonyRollbarBundle/Twig/RollbarExtensionTest.php @@ -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);