@@ -56,7 +56,7 @@ public function testGet()
5656 $ phpbuEndEvent = $ this ->createMock (\phpbu \App \Event \App \End::class);
5757 $ phpbuEndEvent ->method ('getResult ' )->willReturn ($ result );
5858
59- $ uri = PHPBU_TEST_FILES . ' /misc /webhook.fail.uri ' ;
59+ $ uri = ' https:/ /webhook.fail.uri/hook ' ;
6060 $ json = new Webhook ();
6161 $ json ->setup (['uri ' => $ uri ]);
6262
@@ -76,7 +76,7 @@ public function testBasicAuth()
7676 $ phpbuEndEvent = $ this ->createMock (\phpbu \App \Event \App \End::class);
7777 $ phpbuEndEvent ->method ('getResult ' )->willReturn ($ result );
7878
79- $ uri = PHPBU_TEST_FILES . ' /misc /webhook.fail.uri ' ;
79+ $ uri = ' https:/ /webhook.fail.uri/hook ' ;
8080 $ json = new Webhook ();
8181 $ json ->setup (['uri ' => $ uri , 'username ' => 'foo ' , 'password ' => 'bar ' ]);
8282
@@ -116,7 +116,7 @@ public function testPostDefaultJson()
116116 $ phpbuEndEvent = $ this ->createMock (\phpbu \App \Event \App \End::class);
117117 $ phpbuEndEvent ->method ('getResult ' )->willReturn ($ result );
118118
119- $ uri = PHPBU_TEST_FILES . ' /misc /webhook.fail.uri ' ;
119+ $ uri = ' https:/ /webhook.fail.uri/hook ' ;
120120 $ json = new Webhook ();
121121 $ json ->setup (['uri ' => $ uri , 'contentType ' => 'application/json ' , 'method ' => 'post ' ]);
122122
@@ -137,7 +137,7 @@ public function testPostXmlTemplate()
137137 $ phpbuEndEvent = $ this ->createMock (\phpbu \App \Event \App \End::class);
138138 $ phpbuEndEvent ->method ('getResult ' )->willReturn ($ result );
139139
140- $ uri = PHPBU_TEST_FILES . ' /misc /webhook.fail.uri ' ;
140+ $ uri = ' https:/ /webhook.fail.uri/hook ' ;
141141 $ path = PHPBU_TEST_FILES . '/misc/webhook.tpl ' ;
142142 $ json = new Webhook ();
143143 $ json ->setup (['uri ' => $ uri , 'contentType ' => 'application/xml ' , 'method ' => 'post ' , 'template ' => $ path ]);
@@ -161,7 +161,7 @@ public function testPostNoFormatter()
161161 $ phpbuEndEvent = $ this ->createMock (\phpbu \App \Event \App \End::class);
162162 $ phpbuEndEvent ->method ('getResult ' )->willReturn ($ result );
163163
164- $ uri = PHPBU_TEST_FILES . ' /misc /webhook.fail.uri ' ;
164+ $ uri = ' https:/ /webhook.fail.uri/hook ' ;
165165 $ json = new Webhook ();
166166 $ json ->setup (['uri ' => $ uri , 'contentType ' => 'application/html ' , 'method ' => 'post ' ]);
167167
0 commit comments