Skip to content

Commit b3581c5

Browse files
committed
Remove EXCLUDE_ON_MAC
1 parent d8e919b commit b3581c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/EFCore.AspNet.InMemory.FunctionalTests/AppServiceProviderFactoryTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
using Microsoft.EntityFrameworkCore.Design.Internal;
55
using Microsoft.EntityFrameworkCore.Internal;
6+
using Microsoft.EntityFrameworkCore.TestUtilities.Xunit;
67

78
namespace Microsoft.EntityFrameworkCore;
89

@@ -93,8 +94,8 @@ private static ServiceProvider BuildTestServiceProvider()
9394

9495
private class TestService;
9596

96-
#if !EXCLUDE_ON_MAC
9797
[ConditionalFact]
98+
[PlatformSkipCondition(TestUtilities.Xunit.TestPlatform.Mac)]
9899
public void Create_works_when_no_BuildWebHost()
99100
{
100101
var factory = new TestAppServiceProviderFactory(
@@ -106,7 +107,6 @@ public void Create_works_when_no_BuildWebHost()
106107
}
107108

108109
private class ProgramWithoutBuildWebHost;
109-
#endif
110110

111111
[ConditionalFact]
112112
public void Create_works_when_BuildWebHost_throws()

0 commit comments

Comments
 (0)