mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 22:33:55 -07:00
Fix code style
This commit is contained in:
parent
f4388c8907
commit
510546d054
3 changed files with 3 additions and 23 deletions
|
@ -1,20 +0,0 @@
|
|||
<?php
|
||||
|
||||
namespace TorrentPier\Db;
|
||||
|
||||
class EntityTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
/**
|
||||
* @covers TorrentPier\Db\Entity::table
|
||||
*/
|
||||
public function testGetTableName()
|
||||
{
|
||||
$model = new Model();
|
||||
static::assertEquals('table name', $model->table());
|
||||
}
|
||||
}
|
||||
|
||||
class Model extends Entity
|
||||
{
|
||||
protected $table = 'table name';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue