8000 Merge pull request #16 from mayoz/patch-1 · Hydrane/tmp-laravel-framework@78f2e01 · GitHub
[go: up one dir, main page]

Skip to content

Commit 78f2e01

Browse files
committed
Merge pull request laravel#16 from mayoz/patch-1
Change test domain name.
2 parents 47449dc + 5b92430 commit 78f2e01

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

tests/FullApplicationTest.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public function testNamespacedControllerResponse()
159159
public function testGeneratingUrls()
160160
{
161161
$app = new Application;
162-
$app->instance('request', Request::create('http://lumen.com', 'GET'));
162+
$app->instance('request', Request::create('http://lumen.laravel.com', 'GET'));
163163
unset($app->availableBindings['request']);
164164

165165
$app->get('/foo-bar', ['as' => 'foo', function() {
@@ -170,16 +170,16 @@ public function testGeneratingUrls()
170170
//
171171
}]);
172172

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]));
176176
}
177177

178178

179179
public function testGeneratingUrlsForRegexParameters()
180180
{
181181
$app = new Application;
182-
$app->instance('request', Request::create('http://lumen.com', 'GET'));
182+
$app->instance('request', Request::create('http://lumen.laravel.com', 'GET'));
183183
unset($app->availableBindings['request']);
184184

185185
$app->get('/foo-bar', ['as' => 'foo', function() {
@@ -194,10 +194,10 @@ public function testGeneratingUrlsForRegexParameters()
194194
//
195195
}]);
196196

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]));
201201
}
202202
}
203203

0 commit comments

Comments
 (0)
0