def METHOD_NAME(runner, project):
    """Test ``renku storage migrate`` command for large files in git."""
    for _file in ["dataset_file", "workflow_file", "regular_file"]:
        (project_context.path / _file).write_text(_file)
    project_context.repository.add("*")
    project_context.repository.commit("add files")
    result = runner.invoke(cli, ["dataset", "add", "--copy", "-c", "my_dataset", "dataset_file"])
    assert 0 == result.exit_code, format_result_exception(result)
    result = runner.invoke(cli, ["run", "cp", "workflow_file", "output_file"])
    assert 0 == result.exit_code, format_result_exception(result)
    result = runner.invoke(cli, ["config", "set", "lfs_threshold", "0b"])
    assert 0 == result.exit_code, format_result_exception(result)
    previous_head = project_context.repository.head.commit.hexsha
    result = runner.invoke(cli, ["storage", "migrate", "--all"], input="y")
    assert 0 == result.exit_code, format_result_exception(result)
    assert "dataset_file" in result.output
    assert "workflow_file" in result.output
    assert "regular_file" in result.output
    assert "*.ini" not in result.output
    assert "*.yml" not in result.output
    assert "Dockerfile" not in result.output
    assert ".dockerignore" not in result.output
    assert ".gitignore" not in result.output
    assert ".renkulfsignore" not in result.output
    assert ".renku" not in result.output
    # TODO: Make sure that this test fails
    assert previous_head != project_context.repository.head.commit.hexsha
    changed_files = [c.a_path for c in project_context.repository.head.commit.get_changes()]
    assert ".renku/metadata/activities" not in changed_files