Skip to content

Commit f02b791

Browse files
author
Andrejs Stepanovs
committed
added deleteWorkflow test case
1 parent 9c5a47f commit f02b791

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

tests/WorkLogTest.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,20 @@ public function testGetWorkLogById($workLogid)
9191
$this->assertTrue(false, 'testGetWorkLogById Failed : '.$e->getMessage());
9292
}
9393
}
94+
95+
/**
96+
* @depends testUpdateWorkLogInIssue
97+
*/
98+
public function testDeleteWorkLogById($workLogid)
99+
{
100+
try {
101+
$issueService = new IssueService();
102+
103+
$worklog = $issueService->deleteWorklog($this->issueKey, $workLogid);
104+
105+
Dumper::dump($worklog);
106+
} catch (JiraException $e) {
107+
$this->assertTrue(false, 'testDeleteWorkLogById Failed : '.$e->getMessage());
108+
}
109+
}
94110
}

0 commit comments

Comments
 (0)