File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -164,11 +164,11 @@ public function testRenderScriptTagsWithHashes()
164
164
165
165
$ output = $ renderer ->renderWebpackScriptTags ('my_entry ' , 'custom_package ' );
166
166
$ this ->assertContains (
167
- '<script src="http://localhost:8080/build/file1.js" integrity="sha384-Q86c+opr0lBUPWN28BLJFqmLhho+9ZcJpXHorQvX6mYDWJ24RQcdDarXFQYN8HLc"></script> ' ,
167
+ '<script src="http://localhost:8080/build/file1.js" integrity="sha384-Q86c+opr0lBUPWN28BLJFqmLhho+9ZcJpXHorQvX6mYDWJ24RQcdDarXFQYN8HLc" crossorigin="anonymous" ></script> ' ,
168
168
$ output
169
169
);
170
170
$ this ->assertContains (
171
- '<script src="http://localhost:8080/build/file2.js" integrity="sha384-ymG7OyjISWrOpH9jsGvajKMDEOP/mKJq8bHC0XdjQA6P8sg2nu+2RLQxcNNwE/3J"></script> ' ,
171
+ '<script src="http://localhost:8080/build/file2.js" integrity="sha384-ymG7OyjISWrOpH9jsGvajKMDEOP/mKJq8bHC0XdjQA6P8sg2nu+2RLQxcNNwE/3J" crossorigin="anonymous" ></script> ' ,
172
172
$ output
173
173
);
174
174
}
You can’t perform that action at this time.
0 commit comments