Skip to content

Commit

Permalink
Merge pull request Azure#99 from gcheng/bettertests
Browse files Browse the repository at this point in the history
update the unit tests so that the job integration tests have the right
  • Loading branch information
Albert Cheng committed Jan 21, 2013
2 parents 8e9fdcf + 8a143d8 commit 2cebbbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public void uploadAesProtectedAssetAndDownloadSuccess() throws Exception {
uploadEncryptedAssetFile(assetInfo, blobWriter, "MPEG4-H264.mp4", encryptedContent, contentKeyId, iv);

// submit and execute the decoding job.
JobInfo jobInfo = decodeAsset("uploadAesProtectedAssetSuccess", assetInfo.getId());
JobInfo jobInfo = decodeAsset(testJobPrefix + "uploadAesProtectedAssetSuccess", assetInfo.getId());

// assert
LinkInfo<TaskInfo> taskLinkInfo = jobInfo.getTasksLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ protected static void cleanupEnvironment() {
removeAllTestLocators();
removeAllTestAssets();
removeAllTestAccessPolicies();
removeAllTestContentKeys();
removeAllTestJobs();
removeAllTestContentKeys();
}

private static void removeAllTestContentKeys() {
Expand Down

0 comments on commit 2cebbbd

Please sign in to comment.