1
0
Fork 0
liza/test/server
Mike Gerwitz 20234bd906 db: Restore previous save-all-meta behavior
It looks like the metabucket is never initialized, so saving the quote is
right now the only thing that sets default values.  That should be fixed in
the future.

This also begins adding tests for the terrible MongoServerDao, that could
use some refactoring.

* src/server/db/MongoServerDao.js: Make `meta' mutable.  I had forgotten to
    remove the code that mutates it (since our version of v8 right now does
    not blow up for const assignments), so this is all that's needed.
* test/server/db/MongoServerDaoTest.js: New file to test this situation.
2019-02-12 09:18:48 -05:00
..
db db: Restore previous save-all-meta behavior 2019-02-12 09:18:48 -05:00
meta Populate document metadata using Data APIs 2017-06-28 16:33:24 -04:00
quote Accommodate ancient qtype data on init and clean 2018-11-19 11:10:16 -05:00
request [DEV-4338] Change behavior of default data 2019-02-04 08:09:19 -05:00
service RatingServiceSubmitNotify: Do not flag as notified on error 2018-05-02 14:23:39 -04:00