Project

General

Profile

Bug #18669

VCR test fails on json 2.*

Added by Justin Sherrill about 2 years ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Category:
Tests
Target version:
Difficulty:
trivial
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

as part of https://github.com/theforeman/foreman/pull/4317 a particular vcr test will fail:

An HTTP request has been made that VCR does not know how to handle:
PUT https://localhost/pulp/api/v2/content/uploads/f882585c-f48d-4ae3-8163-41b79ef05721/0//

This needs to be re-recorded.

Associated revisions

Revision 21789de7 (diff)
Added by Justin Sherrill about 2 years ago

Fixes #18669 - match file upload in binary

Previously we were using the body_json matcher for
uploading the binary file during the test. This
no longer works with json 2.0. Instead just
rely on the regular body matcher

History

#1 Updated by The Foreman Bot about 2 years ago

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

#2 Updated by Justin Sherrill about 2 years ago

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

#3 Updated by Eric Helms about 2 years ago

  • Legacy Backlogs Release (now unused) set to 211

Also available in: Atom PDF