2014-11-18 03:11:18 -06:00
|
|
|
<?php
|
2014-11-18 03:33:38 -06:00
|
|
|
|
2014-11-18 03:11:18 -06:00
|
|
|
/**
|
|
|
|
* Generated by PHPUnit_SkeletonGenerator on 2014-11-18 at 09:03:51.
|
|
|
|
*/
|
|
|
|
class HomeControllerTest extends TestCase
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @var HomeController
|
|
|
|
*/
|
|
|
|
protected $object;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Sets up the fixture, for example, opens a network connection.
|
|
|
|
* This method is called before a test is executed.
|
|
|
|
*/
|
|
|
|
public function setUp()
|
|
|
|
{
|
2014-11-18 03:33:38 -06:00
|
|
|
parent::setUp();
|
2014-11-18 03:11:18 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @covers HomeController::flush
|
|
|
|
* @todo Implement testFlush().
|
|
|
|
*/
|
|
|
|
public function testFlush()
|
|
|
|
{
|
|
|
|
// Remove the following lines when you implement this test.
|
2014-11-18 03:33:38 -06:00
|
|
|
$this->markTestIncomplete('This test has not been implemented yet.');
|
2014-11-18 03:11:18 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @covers HomeController::index
|
|
|
|
* @todo Implement testIndex().
|
|
|
|
*/
|
|
|
|
public function testIndex()
|
|
|
|
{
|
2014-11-18 03:33:38 -06:00
|
|
|
$this->be(new User(['email' => 'test@example.com']));
|
|
|
|
|
|
|
|
$response = $this->call('GET', '/');
|
|
|
|
$this->assertResponseOk();
|
|
|
|
|
|
|
|
$this->assertTrue(true);
|
2014-11-18 03:11:18 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @covers HomeController::rangeJump
|
|
|
|
* @todo Implement testRangeJump().
|
|
|
|
*/
|
|
|
|
public function testRangeJump()
|
|
|
|
{
|
|
|
|
// Remove the following lines when you implement this test.
|
|
|
|
$this->markTestIncomplete(
|
|
|
|
'This test has not been implemented yet.'
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @covers HomeController::sessionNext
|
|
|
|
* @todo Implement testSessionNext().
|
|
|
|
*/
|
|
|
|
public function testSessionNext()
|
|
|
|
{
|
|
|
|
// Remove the following lines when you implement this test.
|
|
|
|
$this->markTestIncomplete(
|
|
|
|
'This test has not been implemented yet.'
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @covers HomeController::sessionPrev
|
|
|
|
* @todo Implement testSessionPrev().
|
|
|
|
*/
|
|
|
|
public function testSessionPrev()
|
|
|
|
{
|
|
|
|
// Remove the following lines when you implement this test.
|
|
|
|
$this->markTestIncomplete(
|
|
|
|
'This test has not been implemented yet.'
|
|
|
|
);
|
|
|
|
}
|
2014-11-18 03:33:38 -06:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Tears down the fixture, for example, closes a network connection.
|
|
|
|
* This method is called after a test is executed.
|
|
|
|
*/
|
|
|
|
protected function tearDown()
|
|
|
|
{
|
|
|
|
}
|
2014-11-18 03:11:18 -06:00
|
|
|
}
|