top | item 46414824

(no title)

wmichelin | 2 months ago

your test environment should not have the credentials to write to prod data. yiiiiikes!

discuss

order

sunnybeetroot|2 months ago

Credentials end up existing in prod because the person used Mochito and didn’t override the function for providing credentials :’c

senbrow|2 months ago

Credentials should only be provided at the application root, which is going to be a different root for a test harness.

Mockito shouldn't change whether or not this is possible; the code shouldn't have the prod creds (or any external resource references) hard coded in the compiled bytecode.