Skip to content

Commit bc7bcf6

Browse files
committed
Fixed test
1 parent 94bb945 commit bc7bcf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Hangfire.PostgreSql.Tests/PostgreSqlDashboardMetricsFacts.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ private class TestPage : RazorPage
3434
public TestPage()
3535
{
3636
var connectionString = ConnectionUtils.GetConnectionString();
37-
var storage = new PostgreSqlStorage(connectionString);
37+
var storage = new PostgreSqlStorage(connectionString, new PostgreSqlStorageOptions { PrepareSchemaIfNecessary = false });
3838
// HACK: Workaround for injection test storage
3939
GetType().GetProperty(nameof(Storage)).SetValue(this, storage);
4040
}

0 commit comments

Comments
 (0)