raise(SanityCheckError,_("Multiple model types found: %{model_types}")%{model_types: model_types})unlessmodel_types.count==1
raise(SanityCheckError,_("Mount point %{mounted_as} not found in %{model_class}.")%{mounted_as: mounted_as,model_class: model_class})unlessmodel_has_mount
end
# rubocop: disable CodeReuse/ActiveRecord
...
...
@@ -110,9 +110,9 @@ module ObjectStorage
returnifargs.count==4
caseargs.count
when3thenraiseSanityCheckError,"Job is missing the `model_type` argument."
when3thenraiseSanityCheckError,_("Job is missing the `model_type` argument.")
else
raiseSanityCheckError,"Job has wrong arguments format."
raiseSanityCheckError,_("Job has wrong arguments format.")
msgid "The review stage shows the time from creating the merge request to merging it. The data will automatically be added after you merge your first merge request."
msgstr ""
msgid "The schedule time must be in the future!"
msgstr ""
msgid "The snippet can be accessed without any authentication."
All [supported environment variables are here](https://gitlab.com/gitlab-org/gitlab-qa/blob/master/docs/what_tests_can_be_run.md#supported-environment-variables).
...
...
@@ -121,7 +123,7 @@ tests that are expected to fail while a fix is in progress (similar to how