Basic commit

Added meta data files (gitattribute to normalize line ending,
gitignore), as well as a simple Model and non-working tests.
This commit is contained in:
Basilius Sauter
2016-04-14 23:57:17 +02:00
parent be01f8c1b6
commit 5e06171bec
9 changed files with 2353 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
<?php
namespace LotGD\Core\Tests\Models;
use LotGD\Core\Models\Character;
use LotGD\Core\Tests\ModelTestCase;
use Doctrine\ORM\Mapping as ORM;
/**
* Description of CharacterModelTest
*
* @author Basilius Sauter
*/
class CharacterModelTest extends ModelTestCase {
/** @var array */
protected $entities = [Character::class];
public function testCreationQuery() {
$queryBuilder = $this->_em->getRepository(Character::class)->find(1);
$character = new Character();
$character->setName("Test");
}
}