Project

General

Custom queries

Profile

Actions

Refactor #14736

closed

Fix test deprecation warnings from AR find method in Rails 4.2

Added by David Davis about 9 years ago. Updated almost 7 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 #5

Updated by Anonymous about 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF