Skip to content

Commit 0789090

Browse files
committed
Updated snapshots.
1 parent c9e9f15 commit 0789090

File tree

3 files changed

+27
-9
lines changed

3 files changed

+27
-9
lines changed

web-ui/src/components/guild-results/EditGuildModal.spec.jsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,14 @@ const testGuild = {
3434
guildMembers: [
3535
{ id: 125, name: 'Guild Member' },
3636
{ id: 126, name: 'Other Member' }
37-
]
37+
],
38+
active: true,
3839
};
3940

4041
const emptyGuild = {
4142
name: 'Test Guild',
42-
description: 'A guild used for testing.'
43+
description: 'A guild used for testing.',
44+
active: true,
4345
};
4446

4547
const currentUserProfile = {

web-ui/src/components/member_selector/member_selector_dialog/MemberSelectorDialog.spec.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ const testGuild = {
3939
name: 'Test Guild',
4040
description: 'A guild used for testing.',
4141
guildLeads: [{ id: 124, name: managerProfile.name }],
42-
guildMembers: []
42+
guildMembers: [],
43+
active: true,
4344
};
4445

4546
const initialState = {

web-ui/src/components/team-results/__snapshots__/TeamSummaryCard.test.jsx.snap

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
exports[`renders correctly 1`] = `
44
<div>
55
<div
6-
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 MuiCard-root TeamSummaryCard-card css-2bwzc-MuiPaper-root-MuiCard-root"
6+
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 MuiCard-root TeamSummaryCard-card css-55zgp6-MuiPaper-root-MuiCard-root"
77
>
88
<div
99
class="MuiCardHeader-root css-185gdzj-MuiCardHeader-root"
@@ -14,7 +14,7 @@ exports[`renders correctly 1`] = `
1414
<span
1515
class="MuiTypography-root MuiTypography-h5 MuiCardHeader-title TeamSummaryCard-title css-1qvr50w-MuiTypography-root"
1616
>
17-
string (Inactive)
17+
string
1818
</span>
1919
<span
2020
class="MuiTypography-root MuiTypography-body1 MuiCardHeader-subheader TeamSummaryCard-title css-nrdprl-MuiTypography-root"
@@ -32,6 +32,11 @@ exports[`renders correctly 1`] = `
3232
<div
3333
class="MuiCardContent-root css-46bh2p-MuiCardContent-root"
3434
>
35+
<p
36+
class="MuiTypography-root MuiTypography-body1 css-19pemnp-MuiTypography-root"
37+
>
38+
Inactive
39+
</p>
3540
<strong>
3641
Team Leads:
3742
</strong>
@@ -52,7 +57,7 @@ exports[`renders correctly 1`] = `
5257
exports[`renders correctly for ADMIN 1`] = `
5358
<div>
5459
<div
55-
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 MuiCard-root TeamSummaryCard-card css-2bwzc-MuiPaper-root-MuiCard-root"
60+
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 MuiCard-root TeamSummaryCard-card css-55zgp6-MuiPaper-root-MuiCard-root"
5661
>
5762
<div
5863
class="MuiCardHeader-root css-185gdzj-MuiCardHeader-root"
@@ -63,7 +68,7 @@ exports[`renders correctly for ADMIN 1`] = `
6368
<span
6469
class="MuiTypography-root MuiTypography-h5 MuiCardHeader-title TeamSummaryCard-title css-1qvr50w-MuiTypography-root"
6570
>
66-
string (Inactive)
71+
string
6772
</span>
6873
<span
6974
class="MuiTypography-root MuiTypography-body1 MuiCardHeader-subheader TeamSummaryCard-title css-nrdprl-MuiTypography-root"
@@ -81,6 +86,11 @@ exports[`renders correctly for ADMIN 1`] = `
8186
<div
8287
class="MuiCardContent-root css-46bh2p-MuiCardContent-root"
8388
>
89+
<p
90+
class="MuiTypography-root MuiTypography-body1 css-19pemnp-MuiTypography-root"
91+
>
92+
Inactive
93+
</p>
8494
<strong>
8595
Team Leads:
8696
</strong>
@@ -142,7 +152,7 @@ exports[`renders correctly for ADMIN 1`] = `
142152
exports[`renders correctly for team lead 1`] = `
143153
<div>
144154
<div
145-
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 MuiCard-root TeamSummaryCard-card css-2bwzc-MuiPaper-root-MuiCard-root"
155+
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 MuiCard-root TeamSummaryCard-card css-55zgp6-MuiPaper-root-MuiCard-root"
146156
>
147157
<div
148158
class="MuiCardHeader-root css-185gdzj-MuiCardHeader-root"
@@ -153,7 +163,7 @@ exports[`renders correctly for team lead 1`] = `
153163
<span
154164
class="MuiTypography-root MuiTypography-h5 MuiCardHeader-title TeamSummaryCard-title css-1qvr50w-MuiTypography-root"
155165
>
156-
stuff (Inactive)
166+
stuff
157167
</span>
158168
<span
159169
class="MuiTypography-root MuiTypography-body1 MuiCardHeader-subheader TeamSummaryCard-title css-nrdprl-MuiTypography-root"
@@ -169,6 +179,11 @@ exports[`renders correctly for team lead 1`] = `
169179
<div
170180
class="MuiCardContent-root css-46bh2p-MuiCardContent-root"
171181
>
182+
<p
183+
class="MuiTypography-root MuiTypography-body1 css-19pemnp-MuiTypography-root"
184+
>
185+
Inactive
186+
</p>
172187
<strong>
173188
Team Leads:
174189
</strong>

0 commit comments

Comments
 (0)