Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test failure: "key \"evidence_due_by\" not present" #96

Open
chris-martin opened this issue Feb 27, 2018 · 3 comments
Open

Test failure: "key \"evidence_due_by\" not present" #96

chris-martin opened this issue Feb 27, 2018 · 3 comments

Comments

@chris-martin
Copy link

chris-martin commented Feb 27, 2018

   Event tests
      Succesfully retrieves events FAILED [1]

    Failures:

      tests/Web/Stripe/Test/Event.hs:15:
      1) Event tests Succesfully retrieves events
           predicate failed on: Left (StripeError {errorType = ParseFailure, errorMsg = "key \"evidence_due_by\" not present", errorCode = Nothing, errorParam = Nothing, errorHTTP = Nothing})

    Randomized with seed 981717192

Stripe's changelog indicates that evidence_due_by was replaced by evidence_details in 2014.

@bsima
Copy link
Contributor

bsima commented May 11, 2018

I started work on this but couldn't figure out how to run the tests. @dmjio any advice?

[ben@lithium:~/src/stripe]$ nix-shell default.nix --attr stripe-haskell
these paths will be fetched (0.01 MiB download, 0.03 MiB unpacked):
.....
[nix-shell:~/src/stripe]$ stack test
stripe-http-streams-2.3.0: test (suite: tests)
stripe-http-streams-2.3.0: Test suite tests failed
Log files have been written to: /home/ben/src/stripe/.stack-work/logs/
Test suite failure for package stripe-http-streams-2.3.0
    tests:  exited with: ExitFailure 1
Full log available at /home/ben/src/stripe/.stack-work/logs/stripe-http-streams-2.3.0-test.log


    Please enter your Stripe *TEST* account
    tests: <stdin>: hGetLine: end of file


[nix-shell:~/src/stripe]$ 

@dmjio
Copy link
Owner

dmjio commented May 12, 2018 via email

@bsima
Copy link
Contributor

bsima commented May 12, 2018 via email

bsima added a commit to bsima/stripe that referenced this issue May 12, 2018
This is just a really basic document from the info you gave me, but it's a
start.

dmjio#96 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants