Skip to content

Commit

Permalink
Fixing MTOTaskOrder Test
Browse files Browse the repository at this point in the history
  • Loading branch information
TevinAdams committed Jan 2, 2025
1 parent 952a6c8 commit d0ea6eb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/pages/Office/MoveTaskOrder/MoveTaskOrder.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,6 @@ export const MoveTaskOrder = (props) => {
<Restricted to={permissionTypes.updateMTOPage}>
<span className={styles.rightAlignButtonWrapper}>
<Button
data-testid="acknowledgeExcessUnaccompaniedBaggageWeightBtn"
type="button"
onClick={handleHideUnaccompaniedBaggageWeightAlert}
unstyled
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Office/MoveTaskOrder/MoveTaskOrder.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ describe('MoveTaskOrder', () => {
</MockProviders>,
);

const acknowledgeUbExcessButton = await screen.findByTestId(/acknowledgeExcessUnaccompaniedBaggageWeightBtn/);
const acknowledgeUbExcessButton = await screen.findByTestId(/excessUnaccompaniedBaggageWeightAlertButton/);
expect(acknowledgeUbExcessButton).toBeInTheDocument();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,7 @@ export const allApprovedExternalVendorMTOQuery = {
id: '2',
status: MOVE_STATUSES.APPROVALS_REQUESTED,
availableToPrimeAt: '2020-03-01T00:00:00.000Z',
excessUnaccompaniedBaggageWeightQualifiedAt: '2020-03-01T00:00:00.000Z',
},
mtoShipments: [
{
Expand Down

0 comments on commit d0ea6eb

Please sign in to comment.