@@ -4,20 +4,20 @@ import { sprintId, sprintQueryString } from './jira-test-helpers.js'
4
4
export const t = await createServiceTester ( )
5
5
6
6
t . create ( 'unknown sprint' )
7
- . get ( '/abc.json?baseUrl=https://jira.spring.io ' )
7
+ . get ( '/abc.json?baseUrl=https://issues.apache.org/jira ' )
8
8
. expectBadge ( { label : 'jira' , message : 'sprint not found' } )
9
9
10
10
t . create ( 'known sprint' )
11
- . get ( '/94 .json?baseUrl=https://jira.spring.io ' )
11
+ . get ( '/3 .json?baseUrl=https://issues.apache.org/jira ' )
12
12
. expectBadge ( {
13
13
label : 'completion' ,
14
14
message : isIntegerPercentage ,
15
15
} )
16
16
17
17
t . create ( '100% completion' )
18
- . get ( `/${ sprintId } .json?baseUrl=http ://issues.apache.org/jira` )
18
+ . get ( `/${ sprintId } .json?baseUrl=https ://issues.apache.org/jira` )
19
19
. intercept ( nock =>
20
- nock ( 'http ://issues.apache.org/jira/rest/api/2' )
20
+ nock ( 'https ://issues.apache.org/jira/rest/api/2' )
21
21
. get ( '/search' )
22
22
. query ( sprintQueryString )
23
23
. reply ( 200 , {
@@ -47,9 +47,9 @@ t.create('100% completion')
47
47
} )
48
48
49
49
t . create ( '0% completion' )
50
- . get ( `/${ sprintId } .json?baseUrl=http ://issues.apache.org/jira` )
50
+ . get ( `/${ sprintId } .json?baseUrl=https ://issues.apache.org/jira` )
51
51
. intercept ( nock =>
52
- nock ( 'http ://issues.apache.org/jira/rest/api/2' )
52
+ nock ( 'https ://issues.apache.org/jira/rest/api/2' )
53
53
. get ( '/search' )
54
54
. query ( sprintQueryString )
55
55
. reply ( 200 , {
@@ -72,9 +72,9 @@ t.create('0% completion')
72
72
} )
73
73
74
74
t . create ( 'no issues in sprint' )
75
- . get ( `/${ sprintId } .json?baseUrl=http ://issues.apache.org/jira` )
75
+ . get ( `/${ sprintId } .json?baseUrl=https ://issues.apache.org/jira` )
76
76
. intercept ( nock =>
77
- nock ( 'http ://issues.apache.org/jira/rest/api/2' )
77
+ nock ( 'https ://issues.apache.org/jira/rest/api/2' )
78
78
. get ( '/search' )
79
79
. query ( sprintQueryString )
80
80
. reply ( 200 , {
0 commit comments