Page MenuHomeDevCentral

RoutingTest.php
No OneTemporary

RoutingTest.php

<?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

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)

Event Timeline