Skip to content

Commit b094c28

Browse files
authored
Add tests for Support Uri class (#58114)
1 parent 0993d5f commit b094c28

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/Support/SupportUriTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ public function current()
254254

255255
public function previous($fallback = false)
256256
{
257-
// TODO: Implement previous() method.
257+
return 'https://laravel.com/previous';
258258
}
259259

260260
public function to($path, $extra = [], $secure = null)
@@ -264,12 +264,12 @@ public function to($path, $extra = [], $secure = null)
264264

265265
public function secure($path, $parameters = [])
266266
{
267-
// TODO: Implement secure() method.
267+
return 'https://laravel.com/secure';
268268
}
269269

270270
public function asset($path, $secure = null)
271271
{
272-
// TODO: Implement asset() method.
272+
return 'https://laravel.com/asset';
273273
}
274274

275275
public function route($name, $parameters = [], $absolute = true)
@@ -289,7 +289,7 @@ public function temporarySignedRoute($name, $expiration, $parameters = [], $abso
289289

290290
public function query($path, $query = [], $extra = [], $secure = null)
291291
{
292-
// TODO: Implement query() method.
292+
return 'https://laravel.com/query';
293293
}
294294

295295
public function action($action, $parameters = [], $absolute = true)
@@ -299,11 +299,11 @@ public function action($action, $parameters = [], $absolute = true)
299299

300300
public function getRootControllerNamespace()
301301
{
302-
// TODO: Implement getRootControllerNamespace() method.
302+
return 'App\\Http\\Controllers';
303303
}
304304

305305
public function setRootControllerNamespace($rootNamespace)
306306
{
307-
// TODO: Implement setRootControllerNamespace() method.
307+
return $this;
308308
}
309309
}

0 commit comments

Comments
 (0)