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

Fix personal space name not updating after language change #8992

Merged

Conversation

JammingBen
Copy link
Contributor

Related Issue

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests

@JammingBen JammingBen self-assigned this May 8, 2023
Comment on lines -146 to -155
describe('computed method "isChangePasswordEnabled"', () => {
it('should be true if capability is enabled', () => {
const { wrapper } = getWrapper({ capabilities: { spaces: { enabled: true } } })
expect(wrapper.vm.isChangePasswordEnabled).toBeTruthy()
})
it('should be false if capability is not enabled', () => {
const { wrapper } = getWrapper()
expect(wrapper.vm.isChangePasswordEnabled).toBeFalsy()
})
})
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was just testing the result of the useCapabilitySpacesEnabled composable, no need to test that here.

@JammingBen JammingBen requested a review from kulmann May 8, 2023 13:39
@JammingBen JammingBen force-pushed the update-personal-space-name-after-language-change branch from 9b97eff to aca1b62 Compare May 8, 2023 13:46
@JammingBen JammingBen requested a review from kulmann May 8, 2023 13:51
@sonarcloud
Copy link

sonarcloud bot commented May 8, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

80.4% 80.4% Coverage
0.0% 0.0% Duplication

Copy link
Member

@kulmann kulmann left a comment

Choose a reason for hiding this comment

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

👍

@AlexAndBear AlexAndBear merged commit e674e6a into stable-7.0 May 8, 2023
@delete-merged-branch delete-merged-branch bot deleted the update-personal-space-name-after-language-change branch May 8, 2023 16:04
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