mirror of
https://github.com/mas-cli/mas
synced 2024-11-25 04:50:24 +00:00
💚 Fix purchase test
This commit is contained in:
parent
a7f8dfea22
commit
212461caee
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue