We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 005fe1e commit b36e5f6Copy full SHA for b36e5f6
Tests/SymfonyRollbarBundle/Twig/RollbarExtensionTest.php
@@ -44,6 +44,8 @@ public function testRollbarJs($env, $isDisabled)
44
$this->assertInstanceOf(\Twig_SimpleFunction::class, $function);
45
46
$output = $rollbarTwig->rollbarJs();
47
+
48
+ $this->assertNotContains('var _rollbarConfig = var _rollbarConfig', $output);
49
$this->assertContains('_rollbarConfig', $output);
50
$this->assertContains('SOME_ROLLBAR_ACCESS_TOKEN_654321', $output);
51
$this->assertContains('_rollbarConfig.rollbarJsUrl', $output);
0 commit comments