diff --git a/mod_ci/controllers.py b/mod_ci/controllers.py index 1e91866e..0d268f32 100755 --- a/mod_ci/controllers.py +++ b/mod_ci/controllers.py @@ -1583,10 +1583,10 @@ def get_info_for_pr_comment(test: Test) -> PrCommentInfo: for test in category_results['tests']: if not test['error']: category_test_pass_count += 1 - if test['test'].last_passed_on != last_test_master: + if test['test'].last_passed_on != last_test_master.id: fixed_tests.append(test['test']) else: - if test['test'].last_passed_on != last_test_master: + if test['test'].last_passed_on != last_test_master.id: common_failed_tests.append(test['test']) else: extra_failed_tests.append(test['test'])