@@ -48,7 +48,7 @@ public function test_send_with_send_code()
4848 ->andReturn ('mock-params ' );
4949
5050 $ gateway ->shouldReceive ('post ' )
51- ->with ('https://api.netease.im /sms/sendcode.action ' , 'mock-params ' , 'mock-headers ' )
51+ ->with ('https://sms.yunxinapi.com /sms/sendcode.action ' , 'mock-params ' , 'mock-headers ' )
5252 ->andReturn ([
5353 'code ' => 200 ,
5454 'msg ' => 5 ,
@@ -103,7 +103,7 @@ public function test_send_with_verify_code()
103103 ->andReturn ('mock-params ' );
104104
105105 $ gateway ->shouldReceive ('post ' )
106- ->with ('https://api.netease.im /sms/verifycode.action ' , 'mock-params ' , 'mock-headers ' )
106+ ->with ('https://sms.yunxinapi.com /sms/verifycode.action ' , 'mock-params ' , 'mock-headers ' )
107107 ->andReturn ([
108108 'code ' => 200 ,
109109 ], [
@@ -154,7 +154,7 @@ public function test_send_with_template_msg()
154154 ->andReturn ('mock-params ' );
155155
156156 $ gateway ->shouldReceive ('post ' )
157- ->with ('https://api.netease.im /sms/sendtemplate.action ' , 'mock-params ' , 'mock-headers ' )
157+ ->with ('https://sms.yunxinapi.com /sms/sendtemplate.action ' , 'mock-params ' , 'mock-headers ' )
158158 ->andReturn ([
159159 'code ' => 200 ,
160160 'msg ' => 5 ,
@@ -191,12 +191,12 @@ public function test_build_endpoint()
191191 $ gateway = \Mockery::mock (YunxinGateway::class, [$ config ])->shouldAllowMockingProtectedMethods ();
192192
193193 $ this ->assertSame (
194- 'https://api.netease.im /sms/sendcode.action ' ,
194+ 'https://sms.yunxinapi.com /sms/sendcode.action ' ,
195195 $ method ->invoke ($ gateway , 'sms ' , 'sendCode ' )
196196 );
197197
198198 $ this ->assertSame (
199- 'https://api.netease.im /mock-resource/mock-function.action ' ,
199+ 'https://sms.yunxinapi.com /mock-resource/mock-function.action ' ,
200200 $ method ->invoke ($ gateway , 'mock-resource ' , 'mock-function ' )
201201 );
202202 }
0 commit comments