Merge "Migrate database API tests to resource_* fixtures"