💚 Fix purchase test

This commit is contained in:
Ben Chatelain 2022-10-08 17:46:15 -06:00
parent a7f8dfea22
commit 212461caee

View file

@ -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
})
}
}
}