Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
csp-3353187
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
csp-3353187
Commits
fb38be32
Commit
fb38be32
authored
6 years ago
by
Geoff Appleby
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3016229
: Update Library Policy Builder test for *-src-elem changes
parent
0a8a1c41
No related branches found
Branches containing commit
Tags
7.x-1.0-alpha1
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/src/Unit/LibraryPolicyBuilderTest.php
+2
-0
2 additions, 0 deletions
tests/src/Unit/LibraryPolicyBuilderTest.php
with
2 additions
and
0 deletions
tests/src/Unit/LibraryPolicyBuilderTest.php
+
2
−
0
View file @
fb38be32
...
...
@@ -166,7 +166,9 @@ class LibraryPolicyBuilderTest extends UnitTestCase {
$this
->
assertArrayEquals
(
[
'script-src'
=>
[
'js.example.com'
,
'js.example.org'
],
'script-src-elem'
=>
[
'js.example.com'
,
'js.example.org'
],
'style-src'
=>
[
'css.example.com'
],
'style-src-elem'
=>
[
'css.example.com'
],
],
$libraryPolicy
->
getSources
()
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment