@@ -41,12 +41,12 @@ public function testCreateRelease(): void
41
41
$ callback = static function ($ method , $ url ) {
42
42
switch (true ) {
43
43
case 'POST ' === $ method
44
- && 'https://api.github.com/repos/nikophil/test /releases ' === $ url :
44
+ && 'https://api.github.com/repos/weaverryan/docs-builder /releases ' === $ url :
45
45
return new MockResponse ('{"id":1} ' );
46
46
case 'POST ' === $ method
47
- && 'https://uploads.github.com/repos/nikophil/test /releases/1/assets?name=docs.phar ' === $ url :
47
+ && 'https://uploads.github.com/repos/weaverryan/docs-builder /releases/1/assets?name=docs.phar ' === $ url :
48
48
case 'PATCH ' === $ method
49
- && 'https://api.github.com/repos/nikophil/test /releases/1 ' === $ url :
49
+ && 'https://api.github.com/repos/weaverryan/docs-builder /releases/1 ' === $ url :
50
50
return new MockResponse ();
51
51
}
52
52
@@ -75,13 +75,13 @@ public function testReleaseIsDeletedIfAddAssetReturnsAnError(): void
75
75
$ callback = static function ($ method , $ url ) {
76
76
switch (true ) {
77
77
case 'POST ' === $ method
78
- && 'https://api.github.com/repos/nikophil/test /releases ' === $ url :
78
+ && 'https://api.github.com/repos/weaverryan/docs-builder /releases ' === $ url :
79
79
return new MockResponse ('{"id":1} ' );
80
80
case 'POST ' === $ method
81
- && 'https://uploads.github.com/repos/nikophil/test /releases/1/assets?name=docs.phar ' === $ url :
81
+ && 'https://uploads.github.com/repos/weaverryan/docs-builder /releases/1/assets?name=docs.phar ' === $ url :
82
82
return new MockResponse ('' , ['http_code ' => 500 ]);
83
83
case 'DELETE ' === $ method
84
- && 'https://api.github.com/repos/nikophil/test /releases/1 ' === $ url :
84
+ && 'https://api.github.com/repos/weaverryan/docs-builder /releases/1 ' === $ url :
85
85
return new MockResponse ();
86
86
}
87
87
0 commit comments