Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F33050208
RoutingTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
528 B
Referenced Files
None
Subscribers
None
RoutingTest.php
View Options
<?php
namespace
AuthGrove\Tests\Helpers
;
use
AuthGrove\Tests\TestCase
;
class
RoutingTest
extends
TestCase
{
public
function
testGetRoute
()
{
$this
->
assertStringEndsWith
(
'/auth/login'
,
authurl
(
'login'
));
$this
->
assertStringEndsWith
(
'/auth'
,
authurl
());
$this
->
assertStringEndsWith
(
'/auth'
,
authurl
(
''
));
$this
->
assertStringEndsWith
(
'/auth'
,
authurl
(
null
));
$this
->
assertStringEndsWith
(
'/auth'
,
authurl
(
false
));
$this
->
assertStringEndsWith
(
'/auth/0'
,
authurl
(
0
));
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, Jun 16, 13:51 (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3801427
Default Alt Text
RoutingTest.php (528 B)
Attached To
Mode
rGROVE Auth Grove
Attached
Detach File
Event Timeline
Log In to Comment