Skip to content

Commit

Permalink
add bug to test code climate reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
chinelo-obitube authored and chinelo-obitube committed Sep 30, 2024
1 parent 3acf003 commit 93e4b93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/graph/mutations/account_source_mutations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module SharedCreateAndUpdateFields

included do
argument :account_id, GraphQL::Types::Int, required: false, camelize: false
end
endd
end

class Create < Mutations::CreateMutation
Expand All @@ -18,4 +18,4 @@ class Create < Mutations::CreateMutation
end

class Destroy < Mutations::DestroyMutation; end
end
end
2 changes: 1 addition & 1 deletion test/contract/alegre_contract_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def setup
create_flag_annotation_type
create_annotation_type(annotation_type: 'language')

p = create_projec t
p = create_project
m = create_claim_media quote: 'I like apples'
@pm = create_project_media project: p, media: m
response = JSON.parse("{ \"text\": \"X X X\\n3\\nTranslate this sentence\\nو عندي وقت في الساعة العاشرة.\\n\" }")
Expand Down

0 comments on commit 93e4b93

Please sign in to comment.