Vouchers for user promotion - Part 1: Introduction of Vouchers #809
tests.yml
on: pull_request
Unit tests
4m 45s
e2e (Cypress)
4m 57s
Annotations
2 errors
Unit tests:
spec/models/course_spec.rb#L539
Course media and their items with inheritance #media_items_with_inheritance returns all items with their title and id
Failure/Error:
expect(@course.media_items_with_inheritance)
.to match_array([["Bem. 1.2 ", item1.id],
["SS 20, Satz 3.4 ", item2.id],
["SS 20, Bsp. 5.6 ", item3.id],
["Worked Example, p-adische Zahlen",
self_item1.id],
["SS 20, Worked Example, Gruppenring",
self_item2.id],
["SS 20, Lektion, exakte Folge", self_item3.id]])
expected collection contained: [["Bem. 1.2 ", 12], ["SS 20, Bsp. 5.6 ", 14], ["SS 20, Lektion, exakte Folge", 11], ["SS 20, Satz 3.4 ", 13], ["SS 20, Worked Example, Gruppenring", 10], ["Worked Example, p-adische Zahlen", 9]]
actual collection contained: [["Rem. 1.2 ", 12], ["SS 20, Ex. 5.6 ", 14], ["SS 20, Lesson, exakte Folge", 11], ["SS 20, Thm. 3.4 ", 13], ["SS 20, Worked Example, Gruppenring", 10], ["Worked Example, p-adische Zahlen", 9]]
the missing elements were: [["Bem. 1.2 ", 12], ["SS 20, Bsp. 5.6 ", 14], ["SS 20, Lektion, exakte Folge", 11], ["SS 20, Satz 3.4 ", 13]]
the extra elements were: [["Rem. 1.2 ", 12], ["SS 20, Ex. 5.6 ", 14], ["SS 20, Lesson, exakte Folge", 11], ["SS 20, Thm. 3.4 ", 13]]
|
Unit tests
Process completed with exit code 1.
|