Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ describe('Add Disposition Offer Container component', () => {
<AddAgreementContainer
acquisitionFileId={1}
View={TestView}
fileType='acquisition'
fileType="acquisition"
onSuccess={onSuccess}
/>,
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import { mockLookups } from '@/mocks/index.mock';

import { lookupCodesSlice } from '@/store/slices/lookupCodes';
import UpdateAgreementForm, {
IUpdateAgreementFormProps,
} from './UpdateAgreementForm';
import UpdateAgreementForm, { IUpdateAgreementFormProps } from './UpdateAgreementForm';
import { AgreementFormModel } from '../models/AgreementFormModel';
import {
act,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { lookupCodesSlice } from '@/store/slices/lookupCodes';
import { act, render, RenderOptions, screen, userEvent } from '@/utils/test-utils';
import AgreementView, { IAgreementViewProps } from './AgreementView';


// mock auth library

const mockViewProps: IAgreementViewProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export const AgreementView: React.FunctionComponent<IAgreementViewProps> = ({
<>
<StyledAddButton
title="Download File"
style={{ fontSize: '1.6rem' }}
onClick={() => {
onGenerate(agreement);
}}
Expand Down Expand Up @@ -212,7 +213,7 @@ function getAgreementFormName(agreementType: string | null): string {
case ApiGen_CodeTypes_AgreementTypes.H0074:
return 'H-0074';
case ApiGen_CodeTypes_AgreementTypes.H179FSPART:
return 'H-179PFS';
return 'H-179 (FS-Part)';
case ApiGen_CodeTypes_AgreementTypes.H179PTO:
return 'H-179PTO';
case ApiGen_CodeTypes_AgreementTypes.H179FS:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,7 @@ exports[`AgreementView component > renders as expected 1`] = `
>
<button
class="c6 Button c7 btn btn-primary"
style="font-size: 1.6rem;"
title="Download File"
type="button"
>
Expand Down Expand Up @@ -665,6 +666,7 @@ exports[`AgreementView component > renders as expected 1`] = `
>
<button
class="c6 Button c7 btn btn-primary"
style="font-size: 1.6rem;"
title="Download File"
type="button"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ describe('Update AcquisitionAgreementContainer component', () => {
<UpdateAgreementContainer
fileId={1}
agreementId={10}
fileType='acquisition'
fileType="acquisition"
View={TestView}
onSuccess={onSuccess}
/>,
Expand Down
Loading