Skip to content

Commit

Permalink
Improve integration test, DEV-207
Browse files Browse the repository at this point in the history
  • Loading branch information
iranimij committed Jan 29, 2024
1 parent cec3592 commit 324104f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Model/ScriptGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@

class ScriptGenerator
{
private const COOKIEBOT_SCRIPT_FORMAT = '<script id="Cookiebot" data-cfasync="false" src="https://consent.cookiebot.com/uc.js" data-cbid="%s" %s type="text/javascript" async></script>';
private const EU_COOKIEBOT_SCRIPT_FORMAT = '<script id="Cookiebot" data-cfasync="false" src="https://consent.cookiebot.eu/uc.js" data-cbid="%s" %s type="text/javascript" async></script>';
private const COOKIEBOT_SCRIPT_FORMAT =
'<script id="Cookiebot" data-cfasync="false" src="https://consent.cookiebot.com/uc.js" data-cbid="%s" %s type="text/javascript" async></script>';

Check warning on line 10 in Model/ScriptGenerator.php

View workflow job for this annotation

GitHub Actions / M2 Coding Standard

Line exceeds 120 characters; contains 153 characters

Check warning on line 10 in Model/ScriptGenerator.php

View workflow job for this annotation

GitHub Actions / M2 Coding Standard

Line exceeds 120 characters; contains 153 characters
private const EU_COOKIEBOT_SCRIPT_FORMAT =
'<script id="Cookiebot" data-cfasync="false" src="https://consent.cookiebot.eu/uc.js" data-cbid="%s" %s type="text/javascript" async></script>';

Check warning on line 12 in Model/ScriptGenerator.php

View workflow job for this annotation

GitHub Actions / M2 Coding Standard

Line exceeds 120 characters; contains 152 characters

Check warning on line 12 in Model/ScriptGenerator.php

View workflow job for this annotation

GitHub Actions / M2 Coding Standard

Line exceeds 120 characters; contains 152 characters

/**
* @var Config
Expand Down

0 comments on commit 324104f

Please sign in to comment.