Skip to content

Commit 2d7185a

Browse files
authored
Update ChDbTest.cs
1 parent 70ff4c7 commit 2d7185a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

test/ChDbTest/ChDbTest.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,8 @@ public void SessionTest()
159159

160160
Assert.IsNull(s.Query($"select version()")?.ErrorMessage);
161161

162-
// chdb creates "_local" database instead of "default" in clickhouse
163-
StringAssert.Contains(s.Query($"SHOW DATABASES")?.Text, "_local");
164-
StringAssert.Contains(s.Query($"SELECT currentDatabase()")?.Text, "_local");
162+
StringAssert.Contains(s.Query($"SHOW DATABASES")?.Text, "default");
163+
StringAssert.Contains(s.Query($"SELECT currentDatabase()")?.Text, "default");
165164
Assert.AreEqual("", s.Query($"SHOW TABLES")?.Text);
166165

167166
var r1 = s.Query($"DROP DATABASE IF EXISTS db_{nr}");
@@ -201,4 +200,4 @@ public void SessionTest()
201200

202201
s.Query($"DROP DATABASE IF EXISTS db_{nr}");
203202
}
204-
}
203+
}

0 commit comments

Comments
 (0)