Project

General

Profile

Bug #27298

Transient test failure in audit mailer test

Added by Tomer Brisker 9 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Category:
Tests
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Expected #<Mail::Body:0x000000000e771358 @boundary=nil, @preamble=nil, @epilogue=nil, @charset="US-ASCII", @part_sort_order=["text/plain", "text/enriched", "text/html"], @parts=[], @raw_source="<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n<html>\r\n  <head>\r\n    <meta content=\"text/html; charset=UTF-8\" http-equiv=\"Content-Type\">\r\n    \r\n    \r\n  </head>\r\n  <body style=\"font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;color:#3f3f3f;background-color:#f1f1f1;padding:10px 24px\">\r\n    <h2 class=\"headline\" style=\"font-weight:normal;text-transform:uppercase;font-size:120%\"><b>Foreman</b> audit summary</h2>\r\n<ul class=\"none\" style=\"list-style-type:none\">\r\n    Displaying 2 of 2 audits\r\n      <li class=\"item\" style=\"margin:5px 15px;border-bottom:1px solid #ccc;padding-bottom:10px;width:70%;font-size:120%\">\r\n        <b>\r\n          <a href=\"http://foreman.some.host.fqdn/audits?search=user+%3D+secret_admin\">Admin User</a>\r\n          <span style=\"color: #cccccc\"></span>\r\n          added Interface:\r\n          <a style=\"color: #2a6496\" href=\"http://foreman.some.host.fqdn/audits?search=id+%3D+980191033\">host44</a>\r\n        </b>\r\n        <ul style=\"list-style-type: none;\">\r\n            <li>\r\n              Added N/A\r\n       to host44\r\n            </li>\r\n        </ul>\r\n      </li>\r\n      <li class=\"item\" style=\"margin:5px 15px;border-bottom:1px solid #ccc;padding-bottom:10px;width:70%;font-size:120%\">\r\n        <b>\r\n          <a href=\"http://foreman.some.host.fqdn/audits?search=user+%3D+secret_admin\">Admin User</a>\r\n          <span style=\"color: #cccccc\"></span>\r\n          updated Test:\r\n          <a style=\"color: #2a6496\" href=\"http://foreman.some.host.fqdn/audits?search=id+%3D+980191032\"></a>\r\n        </b>\r\n        <ul style=\"list-style-type: none;\">\r\n        </ul>\r\n      </li>\r\n</ul>\r\n<p>\r\n  <a href=\"http://foreman.some.host.fqdn/audits?search=time+%3E+yesterday\">Full audits list</a>\r\n</p>\r\n\r\n  </body>\r\n</html>\r\n", @ascii_only=true, @encoding="7bit"> to include "Template content changed". (Minitest::Assertion)
/home/jenkins/workspace/foreman-develop-source-release@2/test/mailers/audit_mailer_test.rb:59   

Associated revisions

Revision d65f1af8 (diff)
Added by Kavita Gaikwad 7 months ago

Fixes #27298 - fix audit_mailer test related to template change

History

#1 Updated by Kavita Gaikwad 8 months ago

  • Assignee set to Kavita Gaikwad

#2 Updated by The Foreman Bot 7 months ago

  • Fixed in Releases 1.24.0 added

#3 Updated by Kavita Gaikwad 7 months ago

  • Status changed from New to Closed

#4 Updated by The Foreman Bot 5 months ago

  • Pull request https://github.com/theforeman/foreman/pull/7182 added

Also available in: Atom PDF