Skip to content
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.

Commit

Permalink
fix(tests): check for attachment in invitation email
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Feb 9, 2017
1 parent 8dda7b3 commit 6c1bad5
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,9 @@ public function testSuccessfulInvitation($data) {
$document = new Document();
$document->getFromDB($invitation->getField('documents_id'));
$this->assertFalse($document->isNewItem());

// Check the pending email has the qr code document
$this->assertJsonStringEqualsJsonString(json_encode(array($document->getID())), $queuedMail->getField('documents'));
}

}

0 comments on commit 6c1bad5

Please sign in to comment.