Project

General

Profile

Actions

Refactor #14736

closed

Fix test deprecation warnings from AR find method in Rails 4.2

Added by David Davis over 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tests
Target version:
Branch:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

DEPRECATION WARNING: You are passing an instance of ActiveRecord::Base to `find`. Please pass the id of the object by calling `.id`. (called from set_user at /var/lib/workspace/workspace/test_katello_pr_core@2/database/postgresql/ruby/2.2/plugin/test/katello_test_helper.rb:166)

Related issues 1 (0 open1 closed)

Related to Katello - Refactor #14156: Support Ruby on Rails 4.2 without ForeignerClosedDavid Davis03/11/2016Actions
Actions

Also available in: Atom PDF