Fix failing outdated tests
commit55998ba65f95636467fc0d6a05225ad7ab4b3f38
authorfabianlindfors <fabian@flapplabs.se>
dateSat 20 Jan 2024, 02:08 (3 years ago)
parentc55b7ce
tests/add_column.rs+2−2
@@ -308,8 +308,8 @@ fn add_column_with_complex_up() {
308308
309309 [actions.up]
310310 table = "users"
311− value = "email"
312− where = "user_id = id"
311+ value = "users.email"
312+ where = "profiles.user_id = users.id"
313313 "#,
314314 );
315315
tests/remove_column.rs+2−2
@@ -179,8 +179,8 @@ fn remove_column_with_complex_down() {
179179
180180 [actions.down]
181181 table = "profiles"
182− value = "email"
183− where = "id = user_id"
182+ value = "profiles.email"
183+ where = "users.id = profiles.user_id"
184184 "#,
185185 );
186186