Failure in ee/spec/tasks/gitlab/license_rake_spec.rb | gitlab:license namespace rake tasks info displays information

Test metadata (don't modify)

Field Value
File ee/spec/tasks/gitlab/license_rake_spec.rb
Description gitlab:license namespace rake tasks info displays information
Hash 401e3b052a0e2784be89822ef9d03ee3854218a8198d35ca41e7de4335924236

Stack trace

Failure/Error:
  expect { subject }.to output(
    include(
      'Current User Count: 0',
      'Email associated with license: user1@example.org'
    )
  ).to_stdout

  expected block to output include "Current User Count: 0" and "Email associated with license: user1@example.org" to stdout, but output "Today's Date: 2023-05-31\nCurrent User Count: 0\nMax Historical Count: 0\nMax Users in License: \nLicense valid from: 1970-01-01 to 2024-04-30\nEmail associated with license: user5@example.org\n"
  Diff:
  @@ -1,6 +1,11 @@
  -(include "Current User Count: 0" and "Email associated with license: user1@example.org")
  +Today's Date: 2023-05-31
  +Current User Count: 0
  +Max Historical Count: 0
  +Max Users in License: 
  +License valid from: 1970-01-01 to 2024-04-30
  +Email associated with license: user5@example.org

Reports (1)

  1. 2023-06-08: https://gitlab.com/gitlab-org/gitlab/-/jobs/4385922070 (pipeline url is missing)