Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update tests #898

Merged
merged 3 commits into from
Dec 17, 2024
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
3 changes: 3 additions & 0 deletions .changeset/pr-898-2237415115.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

---
---
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ public class OnboardedAppDto : AuditDto, IMapFrom<Domain.Entities.OnboardedApp>
public App? AppInformation { get; set; }
public bool DoesNotExistInFusion { get; set; } = false;
public List<ContextTypeDto> ContextTypes { get; set; } = [];
// existsInFusion

public void SupplyWithFusionData(App app)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public ApiPortalOnboardedApp(PortalOnboardedAppDto portalOnboardedAppDto)
IsGlobal = portalOnboardedAppDto.IsGlobal;
IsContextual = portalOnboardedAppDto.IsContextual;
AppManifest = portalOnboardedAppDto.OnboardedApp.AppInformation != null ? new ApiFusionApp(portalOnboardedAppDto.OnboardedApp.AppInformation) : null;
DoesNotExistInFusion = portalOnboardedAppDto.OnboardedApp.DoesNotExistInFusion;
}

public string AppKey { get; set; }
Expand All @@ -29,4 +30,5 @@ public ApiPortalOnboardedApp(PortalOnboardedAppDto portalOnboardedAppDto)
public bool IsGlobal { get; set; }
public bool IsContextual { get; set; }
public ApiFusionApp? AppManifest { get; set; }
public bool DoesNotExistInFusion { get; set; }
}
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ public static void AssertOnboardedAppValues(ApiOnboardedApp? onboardedApp)
{
Assert.IsNotNull(onboardedApp);
Assert.IsNotNull(onboardedApp.AppKey);
Assert.IsFalse(onboardedApp.DoesNotExistInFusion);
}

public static void AssertContextTypeValues(ApiContextType? contextType)
Expand Down
Loading