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, Nov 23, 2:34 PM
Unknown Object (File)
Sat, Nov 23, 9:25 AM
Unknown Object (File)
Fri, Nov 22, 12:31 PM
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
Subscribers

Details

Summary

Updates test to new module

Depends on D8554

Test Plan

Run tests

Diff Detail

Repository
rCOMM Comm
Branch
land-wasm-tests
Lint
No Lint Coverage
Unit
No Test Coverage

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.