how could i test signinup/other things that save t...
# support-questions
b
how could i test signinup/other things that save to the DB without really saving to the DB?
r
Hey @BeeMoe can you further elaborate on your question?
b
i'm gonna edit the message
i forgot that part lol
Edited my question
r
Right I see. There are two ways to do that at the moment: - override all the recipe functions to return a mocked value in testing env - use a core without the db connection info and it will use an in memory db.
b
2nd option seems easier, i have to use the core config to do that right?
r
yes
rather, you have to remove stuff from the core's config
b
Oh, what would I remove?
r
the info related to connecting to a db
b
Okay thank you
2 Views