Skip to content
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

refactor!: removed roomNameExists method #32484

Merged
merged 3 commits into from
Aug 17, 2024

Conversation

abhinavkrin
Copy link
Member

@abhinavkrin abhinavkrin commented May 23, 2024

Proposed changes (including videos or screenshots)

Removed roomNameExists method as it has been replaced by rooms.nameExists endpoint

Issue(s)

Steps to test or reproduce

Further comments

CORE-351

Copy link
Contributor

dionisio-bot bot commented May 23, 2024

Looks like this PR is not ready to merge, because of the following issues:

  • This PR is missing the 'stat: QA assured' label

Please fix the issues and try again

If you have any trouble, please check the PR guidelines

Copy link

changeset-bot bot commented May 23, 2024

⚠️ No Changeset found

Latest commit: f423b64

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

codecov bot commented May 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.39%. Comparing base (8c447cf) to head (f423b64).
Report is 5 commits behind head on release-7.0.0.

Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff               @@
##           release-7.0.0   #32484   +/-   ##
==============================================
  Coverage          59.39%   59.39%           
==============================================
  Files               2541     2541           
  Lines              63175    63175           
  Branches           14220    14220           
==============================================
  Hits               37525    37525           
  Misses             22935    22935           
  Partials            2715     2715           
Flag Coverage Δ
unit 76.02% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@abhinavkrin abhinavkrin marked this pull request as ready for review May 24, 2024 10:26
@abhinavkrin abhinavkrin requested a review from a team as a code owner May 24, 2024 10:26
@MarcosSpessatto MarcosSpessatto added this to the 7.0 milestone May 24, 2024
Copy link
Member

@MarcosSpessatto MarcosSpessatto left a comment

Choose a reason for hiding this comment

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

Can we take a look at this test case? I think there's something weird since it's expecting an error when no room is found...

https://github.com/RocketChat/Rocket.Chat/blob/develop/apps/meteor/tests/end-to-end/api/09-rooms.js#L425

apps/meteor/app/api/server/v1/rooms.ts Outdated Show resolved Hide resolved
@abhinavkrin
Copy link
Member Author

Can we take a look at this test case? I think there's something weird since it's expecting an error when no room is found...

https://github.com/RocketChat/Rocket.Chat/blob/develop/apps/meteor/tests/end-to-end/api/09-rooms.js#L425

I looked at it, the test was for an invalid roomId which should not be there as we dont accept a roomId for this endpoint.
So I changed this test to check for invalid params which makes the test more clear.
Also, I added a test to check if false is returned if roomName is not found.

MarcosSpessatto
MarcosSpessatto previously approved these changes Jun 7, 2024
@ggazzo ggazzo dismissed MarcosSpessatto’s stale review June 11, 2024 13:15

The merge-base changed after approval.

@ggazzo ggazzo requested review from a team as code owners June 11, 2024 13:15
@ggazzo ggazzo force-pushed the release-7.0.0 branch 2 times, most recently from ea82dad to 7e69ab1 Compare June 11, 2024 17:57
@ggazzo ggazzo force-pushed the release-7.0.0 branch 3 times, most recently from bc4fad7 to b484993 Compare June 24, 2024 11:48
@ggazzo ggazzo force-pushed the release-7.0.0 branch 2 times, most recently from b285fd4 to 39a6fe1 Compare July 16, 2024 15:10
@ggazzo ggazzo force-pushed the release-7.0.0 branch 4 times, most recently from ce44882 to d94b784 Compare July 29, 2024 19:47
@ggazzo ggazzo force-pushed the refactor/removed-roomNameExists-method-1 branch from 6a29f0a to 48a9ecc Compare August 15, 2024 20:46
@ggazzo ggazzo requested a review from a team as a code owner August 16, 2024 13:09
@ggazzo ggazzo merged commit bcdcfd4 into release-7.0.0 Aug 17, 2024
49 checks passed
@ggazzo ggazzo deleted the refactor/removed-roomNameExists-method-1 branch August 17, 2024 00:47
ggazzo pushed a commit that referenced this pull request Sep 5, 2024
Co-authored-by: Marcos Spessatto Defendi <marcos.defendi@rocket.chat>
ggazzo pushed a commit that referenced this pull request Sep 5, 2024
Co-authored-by: Marcos Spessatto Defendi <marcos.defendi@rocket.chat>
ggazzo pushed a commit that referenced this pull request Sep 5, 2024
Co-authored-by: Marcos Spessatto Defendi <marcos.defendi@rocket.chat>
ggazzo pushed a commit that referenced this pull request Sep 11, 2024
Co-authored-by: Marcos Spessatto Defendi <marcos.defendi@rocket.chat>
ggazzo pushed a commit that referenced this pull request Sep 13, 2024
Co-authored-by: Marcos Spessatto Defendi <marcos.defendi@rocket.chat>
ggazzo pushed a commit that referenced this pull request Sep 13, 2024
Co-authored-by: Marcos Spessatto Defendi <marcos.defendi@rocket.chat>
ggazzo pushed a commit that referenced this pull request Sep 14, 2024
Co-authored-by: Marcos Spessatto Defendi <marcos.defendi@rocket.chat>
ggazzo pushed a commit that referenced this pull request Sep 16, 2024
Co-authored-by: Marcos Spessatto Defendi <marcos.defendi@rocket.chat>
MartinSchoeler pushed a commit that referenced this pull request Sep 18, 2024
Co-authored-by: Marcos Spessatto Defendi <marcos.defendi@rocket.chat>
ggazzo pushed a commit that referenced this pull request Sep 25, 2024
Co-authored-by: Marcos Spessatto Defendi <marcos.defendi@rocket.chat>
ggazzo pushed a commit that referenced this pull request Sep 25, 2024
Co-authored-by: Marcos Spessatto Defendi <marcos.defendi@rocket.chat>
ggazzo pushed a commit that referenced this pull request Sep 27, 2024
Co-authored-by: Marcos Spessatto Defendi <marcos.defendi@rocket.chat>
ggazzo pushed a commit that referenced this pull request Sep 27, 2024
Co-authored-by: Marcos Spessatto Defendi <marcos.defendi@rocket.chat>
ggazzo pushed a commit that referenced this pull request Oct 8, 2024
Co-authored-by: Marcos Spessatto Defendi <marcos.defendi@rocket.chat>
sampaiodiego pushed a commit that referenced this pull request Oct 9, 2024
Co-authored-by: Marcos Spessatto Defendi <marcos.defendi@rocket.chat>
sampaiodiego pushed a commit that referenced this pull request Oct 9, 2024
Co-authored-by: Marcos Spessatto Defendi <marcos.defendi@rocket.chat>
abhinavkrin added a commit that referenced this pull request Oct 11, 2024
Co-authored-by: Marcos Spessatto Defendi <marcos.defendi@rocket.chat>
ggazzo pushed a commit that referenced this pull request Oct 11, 2024
Co-authored-by: Marcos Spessatto Defendi <marcos.defendi@rocket.chat>
ggazzo pushed a commit that referenced this pull request Oct 11, 2024
Co-authored-by: Marcos Spessatto Defendi <marcos.defendi@rocket.chat>
ggazzo pushed a commit that referenced this pull request Oct 11, 2024
Co-authored-by: Marcos Spessatto Defendi <marcos.defendi@rocket.chat>
ggazzo pushed a commit that referenced this pull request Oct 11, 2024
Co-authored-by: Marcos Spessatto Defendi <marcos.defendi@rocket.chat>
ggazzo pushed a commit that referenced this pull request Oct 14, 2024
Co-authored-by: Marcos Spessatto Defendi <marcos.defendi@rocket.chat>
MartinSchoeler pushed a commit that referenced this pull request Oct 14, 2024
Co-authored-by: Marcos Spessatto Defendi <marcos.defendi@rocket.chat>
ggazzo pushed a commit that referenced this pull request Oct 15, 2024
Co-authored-by: Marcos Spessatto Defendi <marcos.defendi@rocket.chat>
ggazzo pushed a commit that referenced this pull request Oct 17, 2024
Co-authored-by: Marcos Spessatto Defendi <marcos.defendi@rocket.chat>
ggazzo pushed a commit that referenced this pull request Oct 17, 2024
Co-authored-by: Marcos Spessatto Defendi <marcos.defendi@rocket.chat>
abhinavkrin added a commit that referenced this pull request Oct 25, 2024
Co-authored-by: Marcos Spessatto Defendi <marcos.defendi@rocket.chat>
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.

3 participants