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)
Mon, Nov 18, 4:54 PM
Unknown Object (File)
Tue, Nov 5, 7:07 AM
Unknown Object (File)
Tue, Nov 5, 7:07 AM
Unknown Object (File)
Tue, Nov 5, 7:07 AM
Unknown Object (File)
Tue, Nov 5, 7:07 AM
Unknown Object (File)
Tue, Nov 5, 7:06 AM
Unknown Object (File)
Tue, Nov 5, 7:04 AM
Unknown Object (File)
Fri, Nov 1, 3:56 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.