Improve automatic action duplication with unit tests and improve database schema
This commit is contained in:
@@ -43,7 +43,7 @@ class PostmarkTest extends Base
|
||||
$tc = new TaskCreation($this->container);
|
||||
$tf = new TaskFinder($this->container);
|
||||
|
||||
$this->assertEquals(2, $u->create(array('name' => 'me', 'email' => 'me@localhost')));
|
||||
$this->assertEquals(2, $u->create(array('username' => 'me', 'email' => 'me@localhost')));
|
||||
|
||||
$this->assertEquals(1, $p->create(array('name' => 'test1')));
|
||||
$this->assertEquals(2, $p->create(array('name' => 'test2', 'identifier' => 'TEST1')));
|
||||
@@ -81,7 +81,7 @@ class PostmarkTest extends Base
|
||||
$tc = new TaskCreation($this->container);
|
||||
$tf = new TaskFinder($this->container);
|
||||
|
||||
$this->assertEquals(2, $u->create(array('name' => 'me', 'email' => 'me@localhost')));
|
||||
$this->assertEquals(2, $u->create(array('username' => 'me', 'email' => 'me@localhost')));
|
||||
$this->assertEquals(1, $p->create(array('name' => 'test2', 'identifier' => 'TEST1')));
|
||||
$this->assertTrue($pp->addMember(1, 2));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user