Skip to content

Commit

Permalink
test(MergedMergeRequest): add case where merge request got a merge us…
Browse files Browse the repository at this point in the history
…er but merge_at is nil
  • Loading branch information
knowbased committed Nov 19, 2024
1 parent 985026b commit 8ab200e
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A MergedMergeRequestMetricTest is a test class for testing the behavior of Merge
Class {
#name : #MergedMergeRequestMetricTest,
#superclass : #TestCase,
#category : 'GitLabHealth-Model-Analysis-Tests'
#category : #'GitLabHealth-Model-Analysis-Tests'
}

{ #category : #tests }
Expand All @@ -23,7 +23,13 @@ MergedMergeRequestMetricTest >> testCalculate [
author: user;
merge_user: user;
created_at: '09-05-2024';
merged_at: '09-05-2024')
merged_at: '09-05-2024').

(GLHMergeRequest new
author: user;
merge_user: user;
created_at: '09-02-2024';
merged_at: nil)
}.


Expand Down

0 comments on commit 8ab200e

Please sign in to comment.