Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F44337686
AuthViewsTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
880 B
Referenced Files
None
Subscribers
None
AuthViewsTest.php
View Options
<?php
/**
* Test authentication views with GET request and form title checks.
*
* A test failure means an auth view is broken.
*/
class
AuthViewsTest
extends
TestCase
{
/**
* Tests the sign in view
*/
public
function
testSignInView
()
{
$this
->
visit
(
'/'
)
->
see
(
'form-signin'
);
}
/**
* Tests the register account view
*/
public
function
testRegisterAccountView
()
{
$this
->
visit
(
'/auth/register'
)
->
see
(
'form-register'
);
}
/**
* Tests the recover access view
*/
public
function
testRecoverAccessView
()
{
$this
->
visit
(
'/auth/recover'
)
->
see
(
'form-recover'
);
}
/**
* Tests the reset password view
*/
public
function
testResetPasswordView
()
{
$this
->
visit
(
'/auth/reset/foo'
)
->
see
(
'form-reset'
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, Aug 18, 14:39 (1 d, 22 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3938950
Default Alt Text
AuthViewsTest.php (880 B)
Attached To
Mode
rGROVE Auth Grove
Attached
Detach File
Event Timeline
Log In to Comment