-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not so basic collection e2e tests #354
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #354 +/- ##
==========================================
+ Coverage 90.23% 92.40% +2.17%
==========================================
Files 70 70
Lines 6175 6520 +345
==========================================
+ Hits 5572 6025 +453
+ Misses 603 495 -108
☔ View full report in Codecov by Sentry. |
Hahaha, beautiful!!! 🙈❤️ |
// @TODO: fails due to syntax errors or unrecognized tokens in db, see: https://github.com/p2panda/aquadoggo/issues/349 | ||
// #[case("(filter: { title: { notIn: [ \"Natural's Not In\" ] } })", "")] | ||
// #[case("(filter: { title: { eq: \"Natural's Not In\" } })", "")] | ||
// #[case("(filter: { title: { notEq: \"Natural's Not In\", in: [ \"Oh Bondage Up Yours!\", \"Speed Of Life\" ] } })", "")] | ||
// #[case("(filter: { title: { notEq: \"Natural's Not In\" }, release_year: { gt: 1978 }, artist: { in: [ \"X-ray Spex\"] } })", "")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Errors returned from database here because of recognised tokens
// @TODO: these fails, see: https://github.com/p2panda/aquadoggo/issues/353 | ||
// #[case("(meta: { owner: { eq: \"2f8e50c2ede6d936ecc3144187ff1c273808185cfbc5ff3d3748d1ff7353fc96\" } })", "")] | ||
// #[case("(meta: { owner: { notEq: \"2f8e50c2ede6d936ecc3144187ff1c273808185cfbc5ff3d3748d1ff7353fc96\" } })", "")] | ||
// #[case("(meta: { owner: { in: [ \"2f8e50c2ede6d936ecc3144187ff1c273808185cfbc5ff3d3748d1ff7353fc96\" ] } })", "")] | ||
// #[case("(meta: { owner: { notIn: [ \"2f8e50c2ede6d936ecc3144187ff1c273808185cfbc5ff3d3748d1ff7353fc96\" ] } })", "")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Errors returned from database here because no owner
field present.
e864fd4
to
c91eb21
Compare
Wondering if we can split this up in multiple PRs? |
c0f53a5
to
c91eb21
Compare
Todo
no such column: owner
error when filtering collection by owner #353Sanitise user inputs intended for sql queries #349un-comment failing testsSeparated this PR into multiple to deal with the other issues 👍
closes: #348 #350
📋 Checklist
CHANGELOG.md