Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F44419871
AuthControllerTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
520 B
Referenced Files
None
Subscribers
None
AuthControllerTest.php
View Options
<?php
use
AuthGrove\Http\Controllers\Auth\AuthController
;
/**
* Test User model.
*/
class
AuthControllerTest
extends
TestCase
{
function
testGetRoute
()
{
$this
->
assertSame
(
'/auth/login'
,
AuthController
::
getRoute
(
'login'
));
$this
->
assertSame
(
'/auth'
,
AuthController
::
getRoute
(
''
));
$this
->
assertSame
(
'/auth'
,
AuthController
::
getRoute
(
null
));
$this
->
assertSame
(
'/auth'
,
AuthController
::
getRoute
(
false
));
$this
->
assertSame
(
'/auth/0'
,
AuthController
::
getRoute
(
0
));
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, Aug 18, 23:48 (1 d, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3938927
Default Alt Text
AuthControllerTest.php (520 B)
Attached To
Mode
rGROVE Auth Grove
Attached
Detach File
Event Timeline
Log In to Comment