summaryrefslogtreecommitdiff
path: root/tests/integration/TaskFileProcedureTest.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-06-26 15:17:38 -0400
committerFrederic Guillot <fred@kanboard.net>2016-06-26 15:17:38 -0400
commitf62112983635a281108575bb69bb90df6bed68b7 (patch)
tree6e5cf4713e0ba1f5301376f568f0229ddd27a520 /tests/integration/TaskFileProcedureTest.php
parent3d34681610854474cb9dbdd93886dbcf0e208a99 (diff)
Added new API calls for project attachements
Diffstat (limited to 'tests/integration/TaskFileProcedureTest.php')
-rw-r--r--tests/integration/TaskFileProcedureTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/TaskFileProcedureTest.php b/tests/integration/TaskFileProcedureTest.php
index 61155555..60909ecd 100644
--- a/tests/integration/TaskFileProcedureTest.php
+++ b/tests/integration/TaskFileProcedureTest.php
@@ -21,7 +21,7 @@ class TaskFileProcedureTest extends BaseProcedureTest
public function assertCreateTaskFile()
{
- $this->fileId = $this->app->createTaskFile(1, $this->taskId, 'My file', base64_encode('plain text file'));
+ $this->fileId = $this->app->createTaskFile($this->projectId, $this->taskId, 'My file', base64_encode('plain text file'));
$this->assertNotFalse($this->fileId);
}