Skip to content

Commit

Permalink
test(admin-form.controller): updated faulty tests
Browse files Browse the repository at this point in the history
  • Loading branch information
seaerchin committed Jul 14, 2021
1 parent 77f2aa8 commit 9a7ca5e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7154,7 +7154,7 @@ describe('admin-form.controller', () => {
const mockRes = expressHandler.mockResponse()

// Act
await AdminFormController._handleUpdateFormField(
await AdminFormController._handleCreateFormField(
MOCK_REQ,
mockRes,
jest.fn(),
Expand Down Expand Up @@ -7540,7 +7540,7 @@ describe('admin-form.controller', () => {
const mockRes = expressHandler.mockResponse()

// Act
await AdminFormController._handleUpdateFormField(
await AdminFormController.handleDuplicateFormField(
MOCK_REQ,
mockRes,
jest.fn(),
Expand All @@ -7560,7 +7560,7 @@ describe('admin-form.controller', () => {
)

// Act
await AdminFormController.handleDeleteFormField(
await AdminFormController.handleDuplicateFormField(
MOCK_REQ,
mockRes,
jest.fn(),
Expand Down

0 comments on commit 9a7ca5e

Please sign in to comment.