Moved all old code for Laravel 5.

This commit is contained in:
James Cole
2015-02-06 04:27:37 +01:00
parent a4b3bf3ef4
commit d16015d625
439 changed files with 19 additions and 33123 deletions

View File

@@ -1,38 +0,0 @@
<?php
use League\FactoryMuffin\Facade as f;
/**
* Class ReminderTest
*/
class ReminderTest extends TestCase
{
public function setUp()
{
parent::setUp();
}
public function tearDown()
{
parent::tearDown();
}
public function testDateIs()
{
$reminder = f::create('Reminder');
$start = clone $reminder->startdate;
$end = clone $reminder->enddate;
$this->assertCount(1, Reminder::dateIs($start, $end)->get());
}
public function testUser()
{
$user = f::create('User');
$reminder = f::create('Reminder');
$reminder->user_id = $user->id;
$reminder->save();
$this->assertEquals($reminder->user->id, $user->id);
}
}