PMCORE-1585
This commit is contained in:
@@ -219,7 +219,7 @@ class AppNotesTest extends TestCase
|
||||
|
||||
$appUid = $appDocument->APP_UID;
|
||||
$appNotes = new ModelAppNotes();
|
||||
$result = $appNotes->getAttachedFilesFromTheCaseNote($appUid);
|
||||
$result = $appNotes->getAttachedFilesFromTheCaseNote($appNote->NOTE_ID);
|
||||
|
||||
$this->assertNotEmpty($result);
|
||||
}
|
||||
|
||||
@@ -124,7 +124,8 @@ class CasesTest extends TestCase
|
||||
// Upload the file
|
||||
$case = new Cases();
|
||||
$result = $case->uploadFilesInCaseNotes('00000000000000000000000000000001', $application->APP_UID, $filesReferences);
|
||||
$result = head($result);
|
||||
$this->assertNotEmpty($result['attachments']);
|
||||
$result = head($result['attachments']);
|
||||
$this->assertNotEmpty($result);
|
||||
$this->assertArrayHasKey('APP_UID', $result);
|
||||
$this->assertEquals($application->APP_UID, $result['APP_UID']);
|
||||
|
||||
Reference in New Issue
Block a user