Removed useless field 'last_commit' from table 'project'.
This commit is contained in:
parent
ad7670e81e
commit
2ed6377971
3 changed files with 32 additions and 41 deletions
|
|
@ -24,7 +24,6 @@ class ProjectTest extends TestCase
|
|||
'ssh_public_key' => null,
|
||||
'type' => null,
|
||||
'access_information' => null,
|
||||
'last_commit' => null,
|
||||
'build_config' => null,
|
||||
'allow_public_status' => null,
|
||||
'archived' => null,
|
||||
|
|
@ -155,18 +154,6 @@ class ProjectTest extends TestCase
|
|||
self::assertEquals(false, $result);
|
||||
}
|
||||
|
||||
public function testLastCommit()
|
||||
{
|
||||
$project = new Project();
|
||||
|
||||
$result = $project->setLastCommit('commit');
|
||||
self::assertEquals(true, $result);
|
||||
self::assertEquals('commit', $project->getLastCommit());
|
||||
|
||||
$result = $project->setLastCommit('commit');
|
||||
self::assertEquals(false, $result);
|
||||
}
|
||||
|
||||
public function testBuildConfig()
|
||||
{
|
||||
$project = new Project();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue