SBTUITestTunnel icon indicating copy to clipboard operation
SBTUITestTunnel copied to clipboard

Fixing calling the wrong method which is causing an infinite recursion

Open ahmedsalah196 opened this issue 2 years ago • 1 comments

Currently calling uploadTaskWithRequest:fromFile is causing a crash due to infinite recursion due to calling the wrong method

ahmedsalah196 avatar Jun 25 '22 12:06 ahmedsalah196

Awesome, thanks! Could you add a test for the upload method here?

tcamin avatar Jun 26 '22 17:06 tcamin

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 🙏

ahmedsalah196 avatar Sep 12 '22 16:09 ahmedsalah196