This was awesome content. What I'm currently struggling with though is testing with the httptest package. Is there a way to test REST endpoints without actually changing or manipulating the database? Some way to do if istest() return mockData?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This was awesome content. What I'm currently struggling with though is testing with the httptest package. Is there a way to test REST endpoints without actually changing or manipulating the database? Some way to do if istest() return mockData?