File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 5757 cli .AssertOutputContains (t , "completed v1 create_animals" )
5858 cli .ResetAllOutputs ()
5959 // cli.AssertSchemaMigrationTable(t, "public", "v1")
60+ // TODO:
61+ // - count records in schema migration table
62+ // - read records in schema migration table
63+ // - check if table exists
64+ // - check if table does not exists
65+ // - fix english with asserts Contains? NotContain? be consistent
66+
67+ // cli.AssertRecordsCount("test", "public", 0)
68+ // ...
69+ // cli.AssertRecordsCount("test", "public", 1)
70+
71+ // audit := cli.UseAudit("test", "public")
72+ // ...
73+ // audit.AssertEvent(1, "pending")
74+
75+ // query := cli.UseQuery("test", "public")
76+ // query.AssertTableExists("animals")
77+ // query.AssertCount("table", 1)
6078}
6179
6280// func TestActionMigrateUpWithError(t *testing.T) {
You can’t perform that action at this time.
0 commit comments