Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Severin Beauvais committed Sep 23, 2024
1 parent d52fa27 commit f01d9bf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/views/ContinuationIn/ContinuationInAuthorization.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
</section>

<section class="mt-10">
<header id="authorization-contact-information">
<h2>Authorization Contact Information</h2>
<header id="contact-information">
<h2>Contact Information</h2>
<p>
Enter the contact information for the continuation authorization. The BC Business Registry
will use this to communicate with the business about this authorization in the future,
Expand Down Expand Up @@ -116,15 +116,15 @@ export default class ContinuationInAuthorization extends Mixins(CommonMixin, Nam
/** Array of valid components. Must match validFlags below. */
readonly validComponents = [
'existing-business-information',
'authorization-contact-information',
'contact-information',
'proof-of-authorization'
]
/** Object of valid flags. Must match validComponents above. */
get validFlags (): object {
return {
existingBusinessInformationValid: this.existingBusinessInformationValid,
authorizationContactInfoValid: this.businessContactInfoValid,
contactInformationValid: this.businessContactInfoValid,
continuationAuthorizationValid: this.continuationAuthorizationValid
}
}
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/ContinuationInAuthorization.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ describe('Continuation In Authorization component', () => {

const secondSection = wrapper.findAll('section').at(1)
expect(secondSection.find('header').exists()).toBe(true)
expect(secondSection.find('header h2').text()).toBe('Authorization Contact Information')
expect(secondSection.find('header h2').text()).toBe('Contact Information')
expect(secondSection.find('header p').text()).toContain('Enter the contact information')
expect(secondSection.findComponent(BusinessContactInfo).exists()).toBe(true)

Expand Down

0 comments on commit f01d9bf

Please sign in to comment.