Coder Social home page Coder Social logo

Comments (3)

paristote avatar paristote commented on May 18, 2024

I've been able to fix my tests by using a real base URL instead of a fake one.
What I think was happening is that RestKit does a reachability test before calling the rest services, and I guess (but not sure) that it happens before stubs are registered.

I'm trying to find more details but it does not seem to be an issue with OHHTTPStubs anyways.

from ohhttpstubs.

AliSoftware avatar AliSoftware commented on May 18, 2024

Hi @paristote

Thanks for your issue, sorry I didn't have time to help you with it.
Glad you fixed it and thanks for the feedback!

I'll wait for your confirmation then close it afterwards ;)

from ohhttpstubs.

paristote avatar paristote commented on May 18, 2024

I tried to display the network requests with tcpdump, but nothing appeared. Either my filter was incorrect, or there's something else. I could try with my own server and reading the logs but I don't have so much time so I'll leave it for later.

You can close this issue, thanks.

from ohhttpstubs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.