File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,7 +52,6 @@ describe('server', () => {
5252
5353 expect ( csp . get ( 'img-src' ) . includes ( "'self'" ) ) . toBe ( true )
5454 expect ( csp . get ( 'img-src' ) . includes ( 'github-images.s3.amazonaws.com' ) ) . toBe ( true )
55- expect ( csp . get ( 'img-src' ) . includes ( 'octodex.github.com' ) ) . toBe ( true )
5655
5756 expect ( csp . get ( 'script-src' ) . includes ( "'self'" ) ) . toBe ( true )
5857
@@ -330,8 +329,8 @@ describe('server', () => {
330329 } )
331330
332331 test ( 'admin articles that link to Enterprise user articles have Enterprise user links' , async ( ) => {
333- const $ = await getDOM ( `${ latestEnterprisePath } /admin/user- management/configuring-email-for-notifications ` )
334- expect ( $ ( 'article a[href*="about-email-notifications-for-pushes-to-your- repository"]' ) . length ) . toBe ( 1 )
332+ const $ = await getDOM ( `${ latestEnterprisePath } /admin/policies/enforcing-repository- management-policies-in-your-enterprise ` )
333+ expect ( $ ( 'article a[href*="about-repository-visibility "]' ) . length ) . toBe ( 1 )
335334 } )
336335
337336 test ( 'articles that link to external links that contain /articles/ are not rewritten' , async ( ) => {
You can’t perform that action at this time.
0 commit comments