Added more unit tests.
This commit is contained in:
1 parent
882dd7afe1
commit
b37ca9222d
3 files changed
+133
-16
No files matched your search
@@ -16,7 +16,7 @@ public static class ApplyFeeHandler
|
||||
var dest = await query.FindByIdAsync(99999);
|
||||
if (source == null || dest == null)
|
||||
{
|
||||
throw new InvalidOperationException($"Cannot process transfer. Account(s) not found.");
|
||||
throw new InvalidOperationException("Cannot process transfer. Account(s) not found.");
|
||||
}
|
||||
|
||||
return new FeeContext(source, dest, timeProvider.GetUtcNow());
|
||||
|
||||
Reference in new issue
Block a user