Skip to content

Commit

Permalink
πŸ’š Fix purchase test
Browse files Browse the repository at this point in the history
  • Loading branch information
phatblat committed Nov 25, 2023
1 parent c4a0241 commit 35b8147
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Tests/MasKitTests/Commands/PurchaseCommandSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ public class PurchaseCommandSpec: QuickSpec {
it("purchases apps") {
let cmd = PurchaseCommand()
let result = cmd.run(PurchaseCommand.Options(appIds: []))
expect(result).to(beSuccess())
expect(result)
.to(
beFailure { error in
expect(error) == .notSupported
})
}
}
}
Expand Down

0 comments on commit 35b8147

Please sign in to comment.