Page MenuHomePhabricator

[web] rework metadata tests to use CommQueryExecutor
ClosedPublic

Authored by kamil on Jul 19 2023, 6:55 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 14, 5:09 AM
Unknown Object (File)
Sat, Dec 14, 5:09 AM
Unknown Object (File)
Sat, Dec 14, 5:09 AM
Unknown Object (File)
Sat, Dec 14, 5:09 AM
Unknown Object (File)
Sat, Dec 14, 5:08 AM
Unknown Object (File)
Sat, Dec 14, 5:01 AM
Unknown Object (File)
Wed, Dec 11, 9:33 PM
Unknown Object (File)
Sun, Dec 1, 3:12 PM
Subscribers

Details

Summary

Updates test to new module

Depends on D8554

Test Plan

Run tests

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Jul 19 2023, 9:05 AM
kamil added inline comments.
web/database/queries/metadata-queries.test.js
30 ↗(On Diff #28830)

native getMetadata returns std::string always

This revision is now accepted and ready to land.Jul 21 2023, 6:20 AM
web/database/queries/metadata-queries.test.js
42 ↗(On Diff #28830)

Shouldn't we clear this metadata after the test?

web/database/queries/metadata-queries.test.js
42 ↗(On Diff #28830)

indeed, I think to make those tests valid we should delete the entire database after each test, I updated the whole stack to reflect this need

This revision was landed with ongoing or failed builds.Jul 27 2023, 5:40 AM
This revision was automatically updated to reflect the committed changes.