@@ -159,7 +159,7 @@ public function testNamespacedControllerResponse()
159
159
public function testGeneratingUrls ()
160
160
{
161
161
$ app = new Application ;
162
- $ app ->instance ('request ' , Request::create ('http://lumen.com ' , 'GET ' ));
162
+ $ app ->instance ('request ' , Request::create ('http://lumen.laravel. com ' , 'GET ' ));
163
163
unset($ app ->availableBindings ['request ' ]);
164
164
165
165
$ app ->get ('/foo-bar ' , ['as ' => 'foo ' , function () {
@@ -170,16 +170,16 @@ public function testGeneratingUrls()
170
170
//
171
171
}]);
172
172
173
- $ this ->assertEquals ('http://lumen.com/something ' , url ('something ' ));
174
- $ this ->assertEquals ('http://lumen.com/foo-bar ' , route ('foo ' ));
175
- $ this ->assertEquals ('http://lumen.com/foo-bar/1/2 ' , route ('bar ' , ['baz ' => 1 , 'boom ' => 2 ]));
173
+ $ this ->assertEquals ('http://lumen.laravel. com/something ' , url ('something ' ));
174
+ $ this ->assertEquals ('http://lumen.laravel. com/foo-bar ' , route ('foo ' ));
175
+ $ this ->assertEquals ('http://lumen.laravel. com/foo-bar/1/2 ' , route ('bar ' , ['baz ' => 1 , 'boom ' => 2 ]));
176
176
}
177
177
178
178
179
179
public function testGeneratingUrlsForRegexParameters ()
180
180
{
181
181
$ app = new Application ;
182
- $ app ->instance ('request ' , Request::create ('http://lumen.com ' , 'GET ' ));
182
+ $ app ->instance ('request ' , Request::create ('http://lumen.laravel. com ' , 'GET ' ));
183
183
unset($ app ->availableBindings ['request ' ]);
184
184
185
185
$ app ->get ('/foo-bar ' , ['as ' => 'foo ' , function () {
@@ -194,10 +194,10 @@ public function testGeneratingUrlsForRegexParameters()
194
194
//
195
195
}]);
196
196
197
- $ this ->assertEquals ('http://lumen.com/something ' , url ('something ' ));
198
- $ this ->assertEquals ('http://lumen.com/foo-bar ' , route ('foo ' ));
199
- $ this ->assertEquals ('http://lumen.com/foo-bar/1/2 ' , route ('bar ' , ['baz ' => 1 , 'boom ' => 2 ]));
200
- $ this ->assertEquals ('http://lumen.com/foo-bar/1/2 ' , route ('baz ' , ['baz ' => 1 , 'boom ' => 2 ]));
197
+ $ this ->assertEquals ('http://lumen.laravel. com/something ' , url ('something ' ));
198
+ $ this ->assertEquals ('http://lumen.laravel. com/foo-bar ' , route ('foo ' ));
199
+ $ this ->assertEquals ('http://lumen.laravel. com/foo-bar/1/2 ' , route ('bar ' , ['baz ' => 1 , 'boom ' => 2 ]));
200
+ $ this ->assertEquals ('http://lumen.laravel. com/foo-bar/1/2 ' , route ('baz ' , ['baz ' => 1 , 'boom ' => 2 ]));
201
201
}
202
202
}
203
203
0 commit comments