Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test_case_status_enum.rb « ci « types « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6a5f8bc2a59e5dc0e877a7ebeae66d632a4359bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

module Types
  module Ci
    class TestCaseStatusEnum < BaseEnum
      graphql_name 'TestCaseStatus'

      ::Gitlab::Ci::Reports::TestCase::STATUS_TYPES.each do |status|
        value status,
              description: "Test case that has a status of #{status}.",
              value: status
      end
    end
  end
end