@@ -22,13 +22,13 @@ import ChangelogDialog from "../../../../src/components/views/dialogs/ChangelogD
22
22
23
23
describe ( "<ChangelogDialog />" , ( ) => {
24
24
it ( "should fetch github proxy url for each repo with old and new version strings" , async ( ) => {
25
- const webUrl = "https://riot.im/github/repos/vector-im /element-web/compare/oldsha1...newsha1" ;
25
+ const webUrl = "https://riot.im/github/repos/element-hq /element-web/compare/oldsha1...newsha1" ;
26
26
fetchMock . get ( webUrl , {
27
- url : "https://api.github.com/repos/vector-im /element-web/compare/master...develop" ,
28
- html_url : "https://github.com/vector-im /element-web/compare/master...develop" ,
29
- permalink_url : "https://github.com/vector-im /element-web/compare/vector-im:72ca95e...vector-im:8891698" ,
30
- diff_url : "https://github.com/vector-im /element-web/compare/master...develop.diff" ,
31
- patch_url : "https://github.com/vector-im /element-web/compare/master...develop.patch" ,
27
+ url : "https://api.github.com/repos/element-hq /element-web/compare/master...develop" ,
28
+ html_url : "https://github.com/element-hq /element-web/compare/master...develop" ,
29
+ permalink_url : "https://github.com/element-hq /element-web/compare/vector-im:72ca95e...vector-im:8891698" ,
30
+ diff_url : "https://github.com/element-hq /element-web/compare/master...develop.diff" ,
31
+ patch_url : "https://github.com/element-hq /element-web/compare/master...develop.patch" ,
32
32
base_commit : { } ,
33
33
merge_base_commit : { } ,
34
34
status : "ahead" ,
@@ -38,19 +38,19 @@ describe("<ChangelogDialog />", () => {
38
38
commits : [
39
39
{
40
40
sha : "commit-sha" ,
41
- html_url : "https://api.github.com/repos/vector-im /element-web/commit/commit-sha" ,
41
+ html_url : "https://api.github.com/repos/element-hq /element-web/commit/commit-sha" ,
42
42
commit : { message : "This is the first commit message" } ,
43
43
} ,
44
44
] ,
45
45
files : [ ] ,
46
46
} ) ;
47
- const reactUrl = "https://riot.im/github/repos/matrix-org /matrix-react-sdk/compare/oldsha2...newsha2" ;
47
+ const reactUrl = "https://riot.im/github/repos/element-hq /matrix-react-sdk/compare/oldsha2...newsha2" ;
48
48
fetchMock . get ( reactUrl , {
49
- url : "https://api.github.com/repos/matrix-org /matrix-react-sdk/compare/master...develop" ,
50
- html_url : "https://github.com/matrix-org /matrix-react-sdk/compare/master...develop" ,
51
- permalink_url : "https://github.com/matrix-org /matrix-react-sdk/compare/matrix-org:cdb00...matrix-org:4a926" ,
52
- diff_url : "https://github.com/matrix-org /matrix-react-sdk/compare/master...develop.diff" ,
53
- patch_url : "https://github.com/matrix-org /matrix-react-sdk/compare/master...develop.patch" ,
49
+ url : "https://api.github.com/repos/element-hq /matrix-react-sdk/compare/master...develop" ,
50
+ html_url : "https://github.com/element-hq /matrix-react-sdk/compare/master...develop" ,
51
+ permalink_url : "https://github.com/element-hq /matrix-react-sdk/compare/matrix-org:cdb00...matrix-org:4a926" ,
52
+ diff_url : "https://github.com/element-hq /matrix-react-sdk/compare/master...develop.diff" ,
53
+ patch_url : "https://github.com/element-hq /matrix-react-sdk/compare/master...develop.patch" ,
54
54
base_commit : { } ,
55
55
merge_base_commit : { } ,
56
56
status : "ahead" ,
@@ -60,7 +60,7 @@ describe("<ChangelogDialog />", () => {
60
60
commits : [
61
61
{
62
62
sha : "commit-sha0" ,
63
- html_url : "https://api.github.com/repos/matrix-org /matrix-react-sdk/commit/commit-sha" ,
63
+ html_url : "https://api.github.com/repos/element-hq /matrix-react-sdk/commit/commit-sha" ,
64
64
commit : { message : "This is a commit message" } ,
65
65
} ,
66
66
] ,
0 commit comments