Skip to content

INVGOV-13340 Add additional properties to comment endpoint#380

Open
sam-ludlow wants to merge 2 commits into
SWAGGER-5.17from
INVGOV-13340.SWAGGER-5.17
Open

INVGOV-13340 Add additional properties to comment endpoint#380
sam-ludlow wants to merge 2 commits into
SWAGGER-5.17from
INVGOV-13340.SWAGGER-5.17

Conversation

@sam-ludlow

Copy link
Copy Markdown
Contributor

@github-actions

Copy link
Copy Markdown

🤖 beep beep beep
Build complete.
You may install the freshly built package.
To do so, run:

echo '"@invotra:registry" "https://npm.pkg.github.com/"
' > .yarnrc
yarn add @invotra/api@5.17.0-pr-build-956738578

Note that you may need to store your GitHub npm token in ~/.npmrc to access the private registry.

@github-actions

Copy link
Copy Markdown

🤖 beep beep beep
Build complete.
You may install the freshly built package.
To do so, run:

echo '"@invotra:registry" "https://npm.pkg.github.com/"
' > .yarnrc
yarn add @invotra/api@5.17.0-pr-build-956770087

Note that you may need to store your GitHub npm token in ~/.npmrc to access the private registry.

@sam-ludlow

Copy link
Copy Markdown
Contributor Author

PASS tests/api/endpoints/comments.js (88.964s)
List Comments
✓ should allow me to fetch comments (2282ms)
✓ should allow me to sort timestamp_created (1174ms)
✓ should allow me to sort timestamp_updated (1110ms)
✓ should not allow me to sort invalid (1034ms)
✓ should allow me to sort order desc (1117ms)
✓ should allow me to sort order asc (1162ms)
✓ should not allow me to sort order invalid (1031ms)
✓ should allow me filter on valid uuid in author_uuid field (1139ms)
✓ should not allow me to sort invalid uuid in author_uuid field (1030ms)
✓ should not allow invalid format for created_date field (1034ms)
✓ should allow me filter on valid format for created_date field (1230ms)
✓ should not allow invalid format for updated_date field (1027ms)
✓ should allow me filter on valid format for updated_date field (1186ms)
Get Comment
✓ should allow me to get a comment (4221ms)
✓ should give 400 for invalid format UUID (1090ms)
✓ should give 404 for unknown comment UUID (1095ms)
Comment Operations
✓ Create a comment and reply (13542ms)
✓ Create a comment and delete it (11587ms)
✓ Create a comment attempt to delete it as org user should fail (15029ms)
✓ Create a comment when comments are disabled should fail (14360ms)
✓ Create a comment with invalid schema should fail (1013ms)
✓ Create a comment with invalid content UUID should fail (1030ms)
✓ Create a comment with non existent content UUID should fail (1039ms)
✓ Delete a non existent comment should fail with not found. (1093ms)
✓ Delete a comment with an invalid UUID should fail with validation failure. (1026ms)

Test Suites: 1 passed, 1 total
Tests: 25 passed, 25 total

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants