Skip to content

Commit

Permalink
Update AppFormTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
devcorrelator committed Feb 25, 2020
1 parent bca2f11 commit 8e6f2be
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/TestCase/Form/AppFormTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public function testGetFormData(): void
'type' => 'text',
'required' => true,
],
'details' => [
'description' => [
'type' => 'textarea',
'required' => true,
],
Expand All @@ -112,7 +112,7 @@ public function testSetFormData(): void
'type' => 'text',
'required' => true,
],
'details' => [
'description' => [
'type' => 'textarea',
'required' => true,
],
Expand Down Expand Up @@ -161,7 +161,7 @@ public function testValidate()
$this->assertCount(2, $this->JiraForm->getErrors());
$requestData = [
'summary' => 'TEST SUMMARY',
'details' => 'test details',
'description' => 'test details',
];
$this->assertTrue($this->JiraForm->validate($requestData));
$this->assertCount(0, $this->JiraForm->getErrors());
Expand All @@ -176,7 +176,7 @@ public function testExecute(): void
{
$requestData = [
'summary' => 'TEST SUMMARY',
'details' => 'test details',
'description' => 'test details',
];

$result = $this->JiraForm->execute($requestData);
Expand Down

0 comments on commit 8e6f2be

Please sign in to comment.