mirror of
https://github.com/dolthub/dolt.git
synced 2026-05-03 03:10:26 -05:00
go/{doltcore/migrate,bats}: update tests with new branch, table names
This commit is contained in:
@@ -78,7 +78,7 @@ func TestMigration(t *testing.T) {
|
||||
expected: []sql.Row{{int64(2)}},
|
||||
},
|
||||
{
|
||||
query: "SELECT count(*) FROM `dolt/migrated_commits`.mapping",
|
||||
query: "SELECT count(*) FROM `dolt/dolt_migrated_commits`.dolt_commit_mapping",
|
||||
expected: []sql.Row{{int64(2)}},
|
||||
},
|
||||
},
|
||||
@@ -130,15 +130,15 @@ func TestMigration(t *testing.T) {
|
||||
expected: []sql.Row{{int64(4)}},
|
||||
},
|
||||
{
|
||||
query: "SELECT count(*) FROM `dolt/migrated_commits`.mapping",
|
||||
query: "SELECT count(*) FROM `dolt/dolt_migrated_commits`.dolt_commit_mapping",
|
||||
expected: []sql.Row{{int64(4)}},
|
||||
},
|
||||
{
|
||||
query: "SELECT count(*) FROM `dolt/migrated_commits`.mapping WHERE new_commit_hash IN (SELECT commit_hash FROM dolt_log)",
|
||||
query: "SELECT count(*) FROM `dolt/dolt_migrated_commits`.dolt_commit_mapping WHERE new_commit_hash IN (SELECT commit_hash FROM dolt_log)",
|
||||
expected: []sql.Row{{int64(4)}},
|
||||
},
|
||||
{
|
||||
query: "SELECT count(*) FROM `dolt/migrated_commits`.mapping WHERE new_commit_hash NOT IN (SELECT commit_hash FROM dolt_log)",
|
||||
query: "SELECT count(*) FROM `dolt/dolt_migrated_commits`.dolt_commit_mapping WHERE new_commit_hash NOT IN (SELECT commit_hash FROM dolt_log)",
|
||||
expected: []sql.Row{{int64(0)}},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user