File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
spec/services/task_service Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1010 error : ' Der Export der Aufgabe (%{title}) ist fehlgeschlagen. <br><br> Fehler: %{error}'
1111 generic_error : Ein unbekannter Fehler ist beim exportieren der Aufgabe aufgetreten.
1212 not_authorized : Die Autorisierung mit "%{account_link}" konnte nicht hergestellt werden. Ist der API-Schlüssel korrekt?
13- server_error : Verbindung zu %{account_link} fehlgeschlagen. Gegenseite nicht erreichbar.
13+ server_error : Verbindung zu " %{account_link}" fehlgeschlagen. Gegenseite nicht erreichbar.
1414 success : Aufgabe (%{title}) erfolgreich exportiert.
1515 import :
1616 internal_error : Beim Import dieser Aufgabe ist auf CodeHarbor ein interner Fehler aufgetreten.
Original file line number Diff line number Diff line change 99 export_external_confirm :
1010 error : ' Export of task (%{title}) failed. <br><br> Error: %{error}'
1111 generic_error : An unknown error has occurred while exporting the task.
12- not_authorized : Authorization with could not be established with "%{account_link}" . Is the API Key correct?
13- server_error : Connection to %{account_link} failed. Remote host unreachable.
12+ not_authorized : Authorization with "%{account_link}" could not be established. Is the API key correct?
13+ server_error : Connection to " %{account_link}" failed. Remote host unreachable.
1414 success : Task (%{title}) successfully exported.
1515 import :
1616 internal_error : An internal error occurred on CodeHarbor while importing the exercise.
Original file line number Diff line number Diff line change 7676 allow ( connection ) . to receive ( :post ) . and_raise ( error )
7777 end
7878
79- it { is_expected . to eql I18n . t ( 'tasks.export_external_confirm.server_error' , account_link : account_link . name ) }
79+ it { is_expected . to eql ERB :: Util . html_escape ( I18n . t ( 'tasks.export_external_confirm.server_error' , account_link : account_link . name ) ) }
8080 end
8181 end
8282
You can’t perform that action at this time.
0 commit comments