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/tests client badge list #787

Merged
merged 6 commits into from
Mar 19, 2020
Merged

Fix/tests client badge list #787

merged 6 commits into from
Mar 19, 2020

Conversation

scott062
Copy link

  • Tests for client badge list to 100%
  • Tests for check box list to 100%
  • Fixed props looking at numerals instead of stringed numerals

Comment on lines 8 to 85
clientClassifications: ['3', 'T', 'C'],
classifications: [
{
code: '3',
text: '3rd Tour Bidders',
disabled_ind: false,
},
{
code: '4',
text: 'Tenured',
disabled_ind: false,
},
{
code: 'D',
text: 'Differential Bidder',
disabled_ind: true,
},
{
code: 'T',
text: 'Tandem Bidder',
disabled_ind: false,
},
{
code: 'M',
text: 'Meritorious Step Increases',
disabled_ind: false,
},
{
code: '6',
text: '6/8 Rule',
disabled_ind: false,
},
{
code: 'F',
text: 'Fair Share Bidders',
disabled_ind: false,
},
{
code: 'C',
text: 'Critical Need Language',
disabled_ind: false,
},
{
code: 'C1',
text: 'Critical Need Language 1st Tour Complete',
disabled_ind: false,
},
{
code: 'CC',
text: 'Critical Need Language Final Tour Complete',
disabled_ind: false,
},
{
code: 'R',
text: 'Recommended for Tenure',
disabled_ind: false,
},
{
code: 'A',
text: 'Ambassador or Deputy Assistant Secretary',
disabled_ind: false,
},
{
code: 'F1',
text: 'Pickering Fellows',
disabled_ind: false,
},
{
code: 'F2',
text: 'Rangel Fellows',
disabled_ind: false,
},
{
code: 'P',
text: 'Pickering/Rangel Fellows',
disabled_ind: false,
},
],

Choose a reason for hiding this comment

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

Since you use these in multiple tests, abstract to a common variable

Copy link
Author

Choose a reason for hiding this comment

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

Done! Thanks

@scott062 scott062 requested a review from mjoyce91 March 19, 2020 13:12
@scott062 scott062 merged commit f27ba98 into dev Mar 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants