Skip to content
Snippets Groups Projects

Add missing ActiveRecord models for ApprovalRules

Merged Vasilii Iakliushin requested to merge 440139_add_missing_models into master
All threads resolved!

What does this MR do and why?

Contributes to #440139 (closed)

Problem

Our test suite relies on Rails models to be correctly defined in yml files. Several ApprovalRules models are missing, because they represent join tables and don't contain an actual functionality.

More details: !144014 (comment 1762104294)

Solution

Define missing models to fix failing tests.

Edited by Vasilii Iakliushin

Merge request reports

Merged results pipeline #1190547167 passed

Pipeline: TRIGGERED_EE_PIPELINE

#1190552511

    Pipeline: GitLab

    #1190552426

      Pipeline: Ruby 3.1 as-if-foss pipeline

      #1190550954

        +2

        Merged results pipeline passed for 32316b08

        Test coverage 81.69% (16.88%) from 2 jobs

        Merged by Tiger WatsonTiger Watson 1 year ago (Feb 26, 2024 10:14am UTC)

        Loading

        Pipeline #1190689834 passed

        Pipeline passed for da811ec1 on master

        Test coverage 64.97% (16.88%) from 2 jobs
        10 environments impacted.

        Activity

        Filter activity
        • Approvals
        • Assignees & reviewers
        • Comments (from bots)
        • Comments (from users)
        • Commits & branches
        • Edits
        • Labels
        • Lock status
        • Mentions
        • Merge request status
        • Tracking
        Please register or sign in to reply
        Loading