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,36 +0,0 @@
<?php
use League\FactoryMuffin\Facade as f;
/**
* Class AccountTest
*/
class UserTest extends TestCase
{
public function setUp()
{
parent::setUp();
}
public function tearDown()
{
parent::tearDown();
}
// tests
public function testPreference()
{
$pref = f::create('Preference');
$this->assertEquals($pref->user_id, $pref->user->id);
$this->assertCount(1, $pref->user->preferences()->get());
}
public function testReminder()
{
$reminder = f::create('Reminder');
$this->assertEquals($reminder->user_id, $reminder->user->id);
$this->assertCount(1, $reminder->user->reminders()->get());
}
}