提交 bfa91e44 编写于 作者: S Shay Rojansky

Test for default schema

上级 fc17d6ee
......@@ -289,6 +289,12 @@ public void Serial_sequences()
);
}
[Fact]
public void DefaultSchemaIsPublic()
{
Assert.Equal("public", _fixture.CreateModel("SELECT 1").DefaultSchemaName);
}
private readonly NpgsqlDatabaseModelFixture _fixture;
public DatabaseModel CreateModel(string createSql, TableSelectionSet selection = null)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册