File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1614,7 +1614,7 @@ mod tests {
16141614 . borrow( )
16151615 . get( "class" )
16161616 . unwrap( ) ,
1617- "fa-svg"
1617+ "f-a_code-branch_solid fa-svg"
16181618 ) ;
16191619
16201620 Ok ( ( ) )
Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ mod tests {
169169 fn test_csp_other ( ) {
170170 let csp = Csp :: new ( ) ;
171171 assert_eq ! (
172- Some ( "default-src 'none'; base-uri 'none'; img-src 'self' https:" . into( ) ) ,
172+ Some ( "default-src 'none'; base-uri 'none'; img-src 'self' https: data: " . into( ) ) ,
173173 csp. render( ContentType :: Other )
174174 ) ;
175175 }
@@ -179,7 +179,7 @@ mod tests {
179179 let csp = Csp :: new ( ) ;
180180 assert_eq ! (
181181 Some (
182- "default-src 'none'; base-uri 'none'; img-src 'self' https:; \
182+ "default-src 'none'; base-uri 'none'; img-src 'self' https: data: ; \
183183 style-src 'self' 'unsafe-inline'"
184184 . into( )
185185 ) ,
@@ -192,7 +192,7 @@ mod tests {
192192 let csp = Csp :: new ( ) ;
193193 assert_eq ! (
194194 Some ( format!(
195- "default-src 'none'; base-uri 'none'; img-src 'self' https:; \
195+ "default-src 'none'; base-uri 'none'; img-src 'self' https: data: ; \
196196 style-src 'self'; font-src 'self'; connect-src 'self'; script-src 'nonce-{}'",
197197 csp. nonce( )
198198 ) ) ,
You can’t perform that action at this time.
0 commit comments