How can I mock the current URI with CodeIgniter 4 test suite?

前端 未结 0 1662
失恋的感觉
失恋的感觉 2021-02-15 23:41

I am developping a CodeIgniter 4 library that uses uri_string() (from the text helper) and I want to test that library with unit tests.

Is there way, with CI

相关标签:
回答
  • 消灭零回复
提交回复
热议问题