dart_ci icon indicating copy to clipboard operation
dart_ci copied to clipboard

Cloud function tests should write to staging database

Open whesse opened this issue 6 years ago • 1 comments

Right now, the cloud function tests write to the production database. Make them write to the staging database instead, and prefix them with code that ensures the documents are empty.

whesse avatar Oct 24 '19 17:10 whesse

While they still run against whatever project, they do warn if the current project is not staging. Therefore not a P1. I would actually prefer if those tests would use a fake firestore rather than staging.

athomas avatar Feb 06 '20 11:02 athomas