Skip to content

[test-only] ApiTest. deleteTag test. increase coverage - #5417

Merged
individual-it merged 2 commits into
masterfrom
deleteTag
Jan 23, 2023
Merged

individual-it merged 2 commits into
masterfrom
deleteTag

Conversation

@v-scharf

Copy link
Copy Markdown
Contributor
  • added test for deleting tags

@update-docs

update-docs Bot commented Jan 17, 2023

Copy link
Copy Markdown

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

* @throws Exception
*/
public function theUserGetsAllAvailableTags(string $user):void {
sleep(1);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wait is necessary?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I forgot to explain it. some tests without sleep(1) fail because there is reindexing or something else.
tag.feature:101 after accepting the share, the user does not see the tags for a short time
tag.feature:212 after deleting space, tags exist for user a short time

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that is annoying. Do we get a 425 here, so we could wait for that?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no no, it is GET method graph/v1.0/extensions/org.libregraph/tags. We get 200 with (empty or not empty) response

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that is sad :-( lets add a comment here in the code explaining it and merge this PR

@v-scharf
v-scharf requested a review from saw-jan January 18, 2023 10:14
@ownclouders

ownclouders commented Jan 18, 2023 •

Copy link
Copy Markdown
Contributor

💥 Acceptance test localApiTests-apiAccountsHashDifficulty-ocis failed. Further test are cancelled...

@saw-jan saw-jan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@v-scharf v-scharf mentioned this pull request Jan 18, 2023
24 tasks done
* @throws Exception
*/
public function theUserGetsAllAvailableTags(string $user):void {
sleep(1);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that is sad :-( lets add a comment here in the code explaining it and merge this PR

@v-scharf v-scharf added the Status:Needs-Review Needs review from a maintainer label Jan 20, 2023
@individual-it
individual-it merged commit 8aff147 into master Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status:Needs-Review Needs review from a maintainer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants