Skip to content

Commit

Permalink
Added comment to test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
prinx committed Aug 18, 2020
1 parent f1502b2 commit 4e57d20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/RejoiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function testRequest()
$data = json_decode($response->data('data'), true);

$this->assertTrue(is_array($data), 'Test USSD request successful');
$this->assertTrue('2' == $data[$ussdServiceOp]);
$this->assertTrue($simulator->getPayload()[$sessionId] == $data[$sessionId]);
$this->assertTrue($data[$ussdServiceOp] == '2', 'Test Service code correct');
$this->assertTrue($simulator->getPayload()[$sessionId] == $data[$sessionId], 'Test sessionID correct');
}
}

0 comments on commit 4e57d20

Please sign in to comment.