milestone 20: declarative configuration for iac
This commit is contained in:
@@ -353,7 +353,7 @@ test "readVersion reads a file database through an immutable open, writing nothi
|
||||
try testing.expectEqual(@as(u32, 1), try readVersion(&database));
|
||||
}
|
||||
|
||||
test "delete_order and content_tables name exactly the tables the schema creates" {
|
||||
test "delete_order and table_names name exactly the tables the schema creates" {
|
||||
var database = try openMigrated();
|
||||
defer database.close();
|
||||
_ = try migrate(&database);
|
||||
@@ -361,7 +361,7 @@ test "delete_order and content_tables name exactly the tables the schema creates
|
||||
for (config_schema.delete_order) |name| {
|
||||
try testing.expect(try tableExists(&database, name));
|
||||
}
|
||||
for (config_schema.content_tables) |name| {
|
||||
for (config_schema.table_names) |name| {
|
||||
try testing.expect(try tableExists(&database, name));
|
||||
}
|
||||
// delete_order covers every table except `schema_version`.
|
||||
|
||||
Reference in New Issue
Block a user