Skip to content

Commit

Permalink
[1239] Use the correct Variant constructor for the header content lan…
Browse files Browse the repository at this point in the history
…guage TCK test. (#1240)

Signed-off-by: James R. Perkins <[email protected]>
  • Loading branch information
jamezp authored Mar 25, 2024
1 parent b5a39db commit 7ad97a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public void acceptLanguageTest() throws Fault {
public void contentLanguageTest() throws Fault {
setProperty(Property.REQUEST_HEADERS,
buildAccept(MediaType.TEXT_PLAIN_TYPE));
Variant variant = new Variant(MediaType.WILDCARD_TYPE, "en-US", null);
Variant variant = new Variant(MediaType.WILDCARD_TYPE, "en", "US", null);
Entity<String> entity = Entity.entity("anything", variant);
setRequestContentEntity(entity);
setProperty(Property.REQUEST, buildRequest(Request.PUT, ""));
Expand Down

0 comments on commit 7ad97a8

Please sign in to comment.