Project

General

Profile

Actions

Refactor #14736

closed

Fix test deprecation warnings from AR find method in Rails 4.2

Added by David Davis almost 8 years ago. Updated almost 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 #1

Updated by David Davis almost 8 years ago

  • Related to Refactor #14156: Support Ruby on Rails 4.2 without Foreigner added
Actions #2

Updated by David Davis almost 8 years ago

  • Subject changed from Fix deprecation warnings from AR find method in Rails 4.2 to Fix test deprecation warnings from AR find method in Rails 4.2
Actions #3

Updated by David Davis almost 8 years ago

  • Tracker changed from Bug to Refactor
  • Category set to Tests
Actions #4

Updated by The Foreman Bot almost 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5987 added
Actions #5

Updated by Anonymous almost 8 years ago

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

Updated by Eric Helms almost 8 years ago

  • translation missing: en.field_release set to 143
Actions

Also available in: Atom PDF