diff --git a/Marten.Integration.Tests/TestsInfrastructure/MartenTest.cs b/Marten.Integration.Tests/TestsInfrastructure/MartenTest.cs index 2c3683b26..8ea5bb00b 100644 --- a/Marten.Integration.Tests/TestsInfrastructure/MartenTest.cs +++ b/Marten.Integration.Tests/TestsInfrastructure/MartenTest.cs @@ -36,7 +36,7 @@ public abstract class MartenTest( protected IEventStore EventStore => Session.Events; - protected readonly string SchemaName = useRandomSchema ? "sch" + Guid.NewGuid().ToString().Replace("-", string.Empty) : "EventStore"; + protected readonly string SchemaName = useRandomSchema ? "sch" + Guid.NewGuid().ToString("N") : "EventStore"; protected virtual IDocumentSession CreateSession(Action? storeOptions = null) {