forked from baron/baron-sso
test(backend): update expected error message for invalid company code to match korean translation
This commit is contained in:
@@ -119,7 +119,7 @@ func TestSignup_CompanyCodeValidation(t *testing.T) {
|
||||
assert.Equal(t, http.StatusBadRequest, resp.StatusCode)
|
||||
var res map[string]interface{}
|
||||
json.NewDecoder(resp.Body).Decode(&res)
|
||||
assert.Equal(t, "Invalid company code.", res["error"])
|
||||
assert.Equal(t, "해당하는 가족사(테넌트)를 찾을 수 없습니다.", res["error"])
|
||||
})
|
||||
|
||||
t.Run("Active Company Code", func(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user