Skip to content

Commit af6474c

Browse files
committed
linting and test fix
1 parent 2c2d8af commit af6474c

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

src/backend/tests/unmocked/organization.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ describe('Organization Tests', () => {
324324
const testBatman = await createTestUser(batmanAppAdmin, orgId);
325325

326326
await expect(OrganizationsService.setFinanceDelegates(testBatman, orgId, ['nonexistent-user-id'])).rejects.toThrow(
327-
new NotFoundException('User', 'one or more user IDs')
327+
new HttpException(404, 'One or more users not found')
328328
);
329329
});
330330

src/frontend/src/pages/FinancePage/ReimbursementRequestDetailPage/SubmitToSaboModal.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import { imagePreviewUrl, isReimbursementRequestPendingSaboSubmission } from '..
1111
import { useToast } from '../../../hooks/toasts.hooks';
1212
import { codeAndRefundSourceName } from '../../../utils/pipes';
1313
import CopyToClipboardButton from '../../../components/CopyToClipboardButton';
14-
import { useCurrentOrganization } from '../../../hooks/organizations.hooks';
1514

1615
interface SubmitToSaboModalProps {
1716
open: boolean;

0 commit comments

Comments
 (0)