From a43fcc7c57a82dab67b4c82628373fe39722eff8 Mon Sep 17 00:00:00 2001 From: Chris Howarth Date: Tue, 27 Aug 2024 18:26:55 +0100 Subject: [PATCH] Add back app builder use in tests --- .../Fixtures/IoC/ContainerProviderTests.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/Maui/Prism.DryIoc.Maui.Tests/Fixtures/IoC/ContainerProviderTests.cs b/tests/Maui/Prism.DryIoc.Maui.Tests/Fixtures/IoC/ContainerProviderTests.cs index ceb1bf041..2188cf3f9 100644 --- a/tests/Maui/Prism.DryIoc.Maui.Tests/Fixtures/IoC/ContainerProviderTests.cs +++ b/tests/Maui/Prism.DryIoc.Maui.Tests/Fixtures/IoC/ContainerProviderTests.cs @@ -12,6 +12,8 @@ public class ContainerProviderTests(ITestOutputHelper testOutputHelper) : TestBa [Fact] public void CanResolveUnamedType() { + var builder = CreateBuilder(prism => { }); + var app = builder.Build(); var containerProvider = new ContainerProvider(); ConcreteTypeMock type = (ConcreteTypeMock)containerProvider; @@ -23,6 +25,8 @@ public void CanResolveUnamedType() [Fact] public void CanResolvedNamedType() { + var builder = CreateBuilder(prism => { }); + var app = builder.Build(); var containerProvider = new ContainerProvider { Name = ConcreteTypeMock.Key