Skip to content

Commit

Permalink
Fix hard delete reflow test (#4931)
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Bommarito authored Oct 31, 2017
1 parent 49833af commit 03cbec9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ private async Task ReflowHardDeletedPackage(string id, string version, string ex
}
else
{
await Assert.ThrowsAsync<ArgumentException>(() => service.ReflowHardDeletedPackageAsync(id, version));
await Assert.ThrowsAsync<UserSafeException>(() => service.ReflowHardDeletedPackageAsync(id, version));
}

auditingService.Verify(x => x.SaveAuditRecordAsync(It.IsAny<AuditRecord>()), succeeds ? Times.Once() : Times.Never());
Expand Down

0 comments on commit 03cbec9

Please sign in to comment.