summaryrefslogtreecommitdiff
path: root/tests/units/SendgridTest.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-06-20 14:34:47 -0400
committerFrederic Guillot <fred@kanboard.net>2015-06-20 14:34:47 -0400
commitaa6fdd3544b64eeab3d577c58425e128c809a135 (patch)
tree388de73e11567e8927bc12694cc65a3c629f6a59 /tests/units/SendgridTest.php
parentd3f789764dcf90923a0d0f639dd2ee56b1177f84 (diff)
Improve automatic action duplication with unit tests and improve database schema
Diffstat (limited to 'tests/units/SendgridTest.php')
-rw-r--r--tests/units/SendgridTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/units/SendgridTest.php b/tests/units/SendgridTest.php
index 1814c761..1fc5d0d5 100644
--- a/tests/units/SendgridTest.php
+++ b/tests/units/SendgridTest.php
@@ -48,7 +48,7 @@ class SendgridTest 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')));