def METHOD_NAME(app_cli_runner, api_client):
    file_name = pkg_resources.resource_filename(__name__, os.path.join('fixtures', '1663924.xml'))
    result = app_cli_runner.invoke(migrate, ['file', '-w', '-m', '-f', file_name])
    prod_record = LegacyRecordsMirror.query.get(1663924)
    response = api_client.get('/literature/1663924')
    assert result.exit_code == 0
    assert prod_record.recid == 1663924
    assert response.status_code == 404