SBTUITestTunnel
SBTUITestTunnel copied to clipboard
Fixing calling the wrong method which is causing an infinite recursion
Currently calling uploadTaskWithRequest:fromFile
is causing a crash due to infinite recursion due to calling the wrong method
Awesome, thanks! Could you add a test for the upload method here?
Hi @tcamin!
I have looked into the tests to try and add your comment but I can see that the tests helpers are built on an architecture where the lowest level is using dataTask:withRequest:
which is not helpful in the test I'm trying to do as I need to call a specific method which is uploadTask:fromFile
. I think this will require a lot of code change (correct me if I'm wrong) which I don't have the time to do. Sorry for that 🙏