diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-06-20 14:34:47 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-06-20 14:34:47 -0400 |
commit | aa6fdd3544b64eeab3d577c58425e128c809a135 (patch) | |
tree | 388de73e11567e8927bc12694cc65a3c629f6a59 /tests/units/PostmarkTest.php | |
parent | d3f789764dcf90923a0d0f639dd2ee56b1177f84 (diff) |
Improve automatic action duplication with unit tests and improve database schema
Diffstat (limited to 'tests/units/PostmarkTest.php')
-rw-r--r-- | tests/units/PostmarkTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/units/PostmarkTest.php b/tests/units/PostmarkTest.php index b708217d..f3d2e55b 100644 --- a/tests/units/PostmarkTest.php +++ b/tests/units/PostmarkTest.php @@ -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)); |