@@ -282,7 +282,7 @@ def test_cli_user_password(cli_runner):
282282
283283def test_cli_restore_noinit (cli_runner_core ):
284284 # Restore where the db does not exist and has not been initialized
285- migdata_path = os .path .join (migrationdata_path , "empty_v0.15.8 .sql_dump" )
285+ migdata_path = os .path .join (migrationdata_path , "empty_v0.50 .sql_dump" )
286286 output = cli_runner_core (["restore" , migdata_path ])
287287 assert "Restore complete!" in output
288288
@@ -293,7 +293,7 @@ def test_cli_restore_noinit(cli_runner_core):
293293
294294
295295def test_cli_backup_restore (cli_runner_core , tmp_path ):
296- migdata_path = os .path .join (migrationdata_path , "empty_v0.15.8 .sql_dump" )
296+ migdata_path = os .path .join (migrationdata_path , "empty_v0.50 .sql_dump" )
297297
298298 cli_runner_core (["restore" , migdata_path ])
299299 cli_runner_core (["upgrade-db" ])
@@ -313,19 +313,19 @@ def test_cli_backup_restore(cli_runner_core, tmp_path):
313313
314314def test_cli_restore_existing (cli_runner ):
315315 # Restore where the db already exists
316- migdata_path = os .path .join (migrationdata_path , "empty_v0.15.8 .sql_dump" )
316+ migdata_path = os .path .join (migrationdata_path , "empty_v0.50 .sql_dump" )
317317
318318 db_name = cli_runner .db_name
319319 output = cli_runner (["restore" , migdata_path ], stdin = f"REMOVEALLDATA { db_name } " )
320320 assert "Restore complete!" in output
321321
322- migdata_path = os .path .join (migrationdata_path , "empty_v0.15.8 .sql_dump" )
322+ migdata_path = os .path .join (migrationdata_path , "empty_v0.50 .sql_dump" )
323323 output = cli_runner (["restore" , migdata_path ], stdin = "ASD" )
324324 assert "does not match. Aborting" in output
325325
326326
327327def test_cli_upgrade (cli_runner_core ):
328- migdata_path = os .path .join (migrationdata_path , "empty_v0.15.8 .sql_dump" )
328+ migdata_path = os .path .join (migrationdata_path , "empty_v0.50 .sql_dump" )
329329
330330 db_name = cli_runner_core .db_name
331331 output = cli_runner_core (["restore" , migdata_path ], stdin = f"REMOVEALLDATA { db_name } " )
@@ -334,7 +334,7 @@ def test_cli_upgrade(cli_runner_core):
334334 output = cli_runner_core (["upgrade-db" ])
335335
336336 # One of the migrations that should be there
337- assert "Running upgrade c1a0b0ee712e -> b9b7b6926b8b " in output
337+ assert "Running upgrade d1ee87a66b71 -> 13cb230def11 " in output
338338
339339 if cli_runner_core .own_db is True :
340340 assert "PostgreSQL successfully stopped" in output
@@ -399,7 +399,7 @@ def test_cli_start_options(cli_runner, tmp_path):
399399
400400
401401def test_cli_start_outdated (cli_runner_core ):
402- migdata_path = os .path .join (migrationdata_path , "empty_v0.15.8 .sql_dump" )
402+ migdata_path = os .path .join (migrationdata_path , "empty_v0.50 .sql_dump" )
403403
404404 db_name = cli_runner_core .db_name
405405 output = cli_runner_core (["restore" , migdata_path ], stdin = f"REMOVEALLDATA { db_name } " )
0 commit comments