Add addActionToGroupId

This commit is contained in:
Austen McDonald
2016-09-17 06:14:03 +00:00
parent 5ea53a63db
commit be543bb630
2 changed files with 28 additions and 0 deletions
+7
View File
@@ -106,6 +106,13 @@ class CharacterViewpointTest extends CoreModelTestCase
$this->assertEquals($ag2, $input->findActionGroupById('id2'));
$this->assertNull($input->findActionGroupById('not-there'));
$testAction = new Action(4);
$input->addActionToGroupId($testAction, 'not-there');
$this->assertNull($input->findActionById($testAction->getId()));
$input->addActionToGroupId($testAction, 'id2');
$this->assertNotNull($input->findActionById($testAction->getId()));
}
public function testAttachments()