Skip to content

Commit

Permalink
N21-1918 fixes test
Browse files Browse the repository at this point in the history
  • Loading branch information
arnegns committed Jul 24, 2024
1 parent 31c730c commit c3e4a00
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ describe('ExternalToolRequestMapper', () => {
externalToolCreateParams.config = basicConfigParams;
externalToolCreateParams.isDeactivated = true;
externalToolCreateParams.description = 'description';
externalToolCreateParams.thumbnailUrl = 'mockThumbnailUrl';

const customParameterDO: CustomParameter = customParameterFactory.build({
name: 'mockName',
Expand Down Expand Up @@ -154,9 +155,9 @@ describe('ExternalToolRequestMapper', () => {
baseUrl: 'mockUrl',
},
isDeactivated: externalToolDOCreate.isDeactivated,
createdAt: externalToolDOCreate.createdAt,
medium: externalToolDOCreate.medium,
restrictToContexts: externalToolDOCreate.restrictToContexts,
thumbnailUrl: externalToolCreateParams.thumbnailUrl,
});
});
});
Expand Down Expand Up @@ -276,7 +277,6 @@ describe('ExternalToolRequestMapper', () => {
launch_presentation_locale: lti11ToolConfigDO.launch_presentation_locale,
},
isDeactivated: externalToolDOCreate.isDeactivated,
createdAt: externalToolDOCreate.createdAt,
medium: externalToolDOCreate.medium,
restrictToContexts: externalToolDOCreate.restrictToContexts,
});
Expand Down Expand Up @@ -404,7 +404,6 @@ describe('ExternalToolRequestMapper', () => {
tokenEndpointAuthMethod: oauth2ToolConfigDO.tokenEndpointAuthMethod,
},
isDeactivated: externalToolDOCreate.isDeactivated,
createdAt: externalToolDOCreate.createdAt,
medium: externalToolDOCreate.medium,
restrictToContexts: externalToolDOCreate.restrictToContexts,
});
Expand Down Expand Up @@ -517,7 +516,6 @@ describe('ExternalToolRequestMapper', () => {
baseUrl: 'mockUrl',
},
isDeactivated: externalToolDOUpdate.isDeactivated,
createdAt: externalToolDOUpdate.createdAt,
medium: externalToolDOUpdate.medium,
restrictToContexts: externalToolDOUpdate.restrictToContexts,
});
Expand Down Expand Up @@ -644,7 +642,6 @@ describe('ExternalToolRequestMapper', () => {
launch_presentation_locale: lti11ToolConfigDO.launch_presentation_locale,
},
isDeactivated: externalToolDOUpdate.isDeactivated,
createdAt: externalToolDOUpdate.createdAt,
medium: externalToolDOUpdate.medium,
restrictToContexts: externalToolDOUpdate.restrictToContexts,
});
Expand Down Expand Up @@ -777,7 +774,6 @@ describe('ExternalToolRequestMapper', () => {
tokenEndpointAuthMethod: oauth2ToolConfigDO.tokenEndpointAuthMethod,
},
isDeactivated: externalToolDOUpdate.isDeactivated,
createdAt: externalToolDOUpdate.createdAt,
medium: externalToolDOUpdate.medium,
restrictToContexts: externalToolDOUpdate.restrictToContexts,
});
Expand Down

0 comments on commit c3e4a00

Please sign in to comment.