Exemplo n.º 1
0
        public void DefaultDbName_WhenDataSourceIsPostgres_ShouldBePostgres()
        {
            var dsc = new DataSourceCredentials()
            {
                DataSourceProvider = DataSourceProvider.Npgsql
            };

            dsc.GetDefaultDbName().Should().Be("postgres");
        }
Exemplo n.º 2
0
        public void DefaultDbName_WhenDataSourceIsPostgres_ShouldBePostgres()
        {
            var dsc = new DataSourceCredentials()
            {
                DataSourceType = DataSourceType.PgSql
            };

            dsc.GetDefaultDbName().Should().Be("postgres");
        }