Skip to content

Commit

Permalink
N21-1494 fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mrikallab committed Dec 4, 2023
1 parent e1361f3 commit 9644186
Showing 1 changed file with 4 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ describe("ToolConfigurationStatus.composable", () => {
const toolConfigurationStatus =
ContextExternalToolConfigurationStatusFactory.build({
isOutdatedOnScopeSchool: true,
isOutdatedOnScopeContext: true,
isOutdatedOnScopeContext: false,
});

const composable = mountComposable(
Expand All @@ -80,8 +80,6 @@ describe("ToolConfigurationStatus.composable", () => {
it("should return translationkey for outdated on scope school ", () => {
const { determineOutdatedTranslationKey, toolConfigurationStatus } =
setup();
toolConfigurationStatus.isOutdatedOnScopeSchool = true;
toolConfigurationStatus.isOutdatedOnScopeContext = false;

const result = determineOutdatedTranslationKey(toolConfigurationStatus);

Expand All @@ -99,7 +97,7 @@ describe("ToolConfigurationStatus.composable", () => {

const toolConfigurationStatus =
ContextExternalToolConfigurationStatusFactory.build({
isOutdatedOnScopeSchool: true,
isOutdatedOnScopeSchool: false,
isOutdatedOnScopeContext: true,
});

Expand All @@ -120,8 +118,6 @@ describe("ToolConfigurationStatus.composable", () => {
it("should return translationkey for outdated tool on scope context ", () => {
const { determineOutdatedTranslationKey, toolConfigurationStatus } =
setup();
toolConfigurationStatus.isOutdatedOnScopeSchool = false;
toolConfigurationStatus.isOutdatedOnScopeContext = true;

const result = determineOutdatedTranslationKey(toolConfigurationStatus);

Expand Down Expand Up @@ -175,7 +171,7 @@ describe("ToolConfigurationStatus.composable", () => {
const toolConfigurationStatus =
ContextExternalToolConfigurationStatusFactory.build({
isOutdatedOnScopeSchool: true,
isOutdatedOnScopeContext: true,
isOutdatedOnScopeContext: false,
});

const composable = mountComposable(
Expand All @@ -194,8 +190,6 @@ describe("ToolConfigurationStatus.composable", () => {
it("should return translationkey for outdated on scope school ", () => {
const { determineOutdatedTranslationKey, toolConfigurationStatus } =
setup();
toolConfigurationStatus.isOutdatedOnScopeSchool = true;
toolConfigurationStatus.isOutdatedOnScopeContext = false;

const result = determineOutdatedTranslationKey(toolConfigurationStatus);

Expand All @@ -211,7 +205,7 @@ describe("ToolConfigurationStatus.composable", () => {

const toolConfigurationStatus =
ContextExternalToolConfigurationStatusFactory.build({
isOutdatedOnScopeSchool: true,
isOutdatedOnScopeSchool: false,
isOutdatedOnScopeContext: true,
});

Expand All @@ -231,8 +225,6 @@ describe("ToolConfigurationStatus.composable", () => {
it("should return translationkey for outdated on scope context ", () => {
const { determineOutdatedTranslationKey, toolConfigurationStatus } =
setup();
toolConfigurationStatus.isOutdatedOnScopeSchool = false;
toolConfigurationStatus.isOutdatedOnScopeContext = true;

const result = determineOutdatedTranslationKey(toolConfigurationStatus);

Expand Down

0 comments on commit 9644186

Please sign in to comment.