File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ ARG UID=991
5555ARG GID=991
5656
5757RUN apk add --no-cache \
58+ 'ca-certificates>=2024' \
5859 'curl>=8' \
5960 'gcompat>=0' \
6061 'tzdata>=2024' \
Original file line number Diff line number Diff line change 99 let ( :health_token ) { ENV . fetch ( 'SMOKE_HEALTH_TOKEN' , 'CHANGE_ME_HEALTH_CHECK_TOKEN' ) }
1010 let ( :feed_token ) { ENV . fetch ( 'SMOKE_API_TOKEN' , 'CHANGE_ME_ADMIN_TOKEN' ) }
1111 let ( :auto_source_enabled ) { ENV . fetch ( 'SMOKE_AUTO_SOURCE_ENABLED' , 'false' ) == 'true' }
12+ let ( :feed_url ) { 'https://www.ruby-lang.org/en/' }
1213
1314 def get_json ( path , headers : { } )
1415 uri = URI . join ( base_url , path )
@@ -69,7 +70,7 @@ def expect_json_feed_response(path)
6970
7071 it 'creates a feed when provided with valid credentials' , :aggregate_failures do
7172 payload = {
72- url : 'https://example.com/articles' ,
73+ url : feed_url ,
7374 strategy : 'ssrf_filter'
7475 }
7576
@@ -82,7 +83,7 @@ def expect_json_feed_response(path)
8283 next unless auto_source_enabled
8384
8485 payload = {
85- url : 'https://example.com/articles' ,
86+ url : feed_url ,
8687 strategy : 'ssrf_filter'
8788 }
8889
@@ -99,7 +100,7 @@ def expect_json_feed_response(path)
99100 next if auto_source_enabled
100101
101102 payload = {
102- url : 'https://example.com/articles' ,
103+ url : feed_url ,
103104 strategy : 'ssrf_filter'
104105 }
105106
You can’t perform that action at this time.
0 commit comments