20300: Update expected content-type in test.
authorTom Clegg <tom@curii.com>
Thu, 7 Sep 2023 14:13:53 +0000 (10:13 -0400)
committerTom Clegg <tom@curii.com>
Fri, 29 Sep 2023 14:14:14 +0000 (10:14 -0400)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

services/api/test/functional/arvados/v1/management_controller_test.rb

index 6d27bccfc48e55635e062d10293e22c0a0288b50..ab57c995dfe55ca4e86118b19012f736d9ebe62e 100644 (file)
@@ -39,7 +39,7 @@ class Arvados::V1::ManagementControllerTest < ActionController::TestCase
     @request.headers['Authorization'] = "Bearer configuredmanagementtoken"
     get :metrics
     assert_response :success
-    assert_equal 'text/plain', @response.content_type
+    assert_equal 'text/plain; charset=utf-8', @response.content_type
 
     assert_match /\narvados_config_source_timestamp_seconds{sha256="#{hash}"} #{Regexp.escape mtime.utc.to_f.to_s}\n/, @response.body