Rename to RelationalEntity to avoid naming collission

This commit is contained in:
Julius Haertl
2017-01-31 13:43:35 +01:00
parent b0dd73b811
commit 6dc6f924cf
9 changed files with 11 additions and 10 deletions

View File

@@ -26,7 +26,7 @@ namespace OCA\Deck\Db;
class EntityTest extends \PHPUnit_Framework_TestCase {
public function testRelation() {
$entity = new Entity();
$entity = new RelationalEntity();
$entity->foo = null;
$entity->addRelation('foo');
$entity->setFoo('test');
@@ -34,7 +34,7 @@ class EntityTest extends \PHPUnit_Framework_TestCase {
}
public function testWithoutRelation() {
$entity = new Entity();
$entity = new RelationalEntity();
$entity->foo = null;
$entity->setFoo('test');
$this->assertEquals(['foo'=>true], $entity->getUpdatedFields());