Skip to content

Commit

Permalink
SAK-27765: Entity Broker test fail (sakaiproject#11450)
Browse files Browse the repository at this point in the history
  • Loading branch information
frasese authored Apr 12, 2023
1 parent 3ba729e commit 122bd3b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@

import junit.framework.TestCase;

import java.util.Locale;

import org.sakaiproject.entitybroker.entityprovider.extension.Formats;
import org.sakaiproject.entitybroker.mocks.data.TestData;
import org.sakaiproject.entitybroker.rest.EntityDescriptionManager;
Expand All @@ -42,6 +44,7 @@ protected void setUp() throws Exception {
// setup things
td = new TestData();
entityDescriptionManager = new ServiceTestManager(td).entityDescriptionManager;
Locale.setDefault(new Locale("en", "US"));
}

public void testReplacePrefix() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
package org.sakaiproject.entitybroker.rest;

import java.io.UnsupportedEncodingException;
import java.util.Locale;

import javax.servlet.http.HttpServletResponse;

Expand Down Expand Up @@ -56,6 +57,7 @@ protected void setUp() throws Exception {
td = new TestData();

entityHandler = new ServiceTestManager(td).entityRequestHandler;
Locale.setDefault(new Locale("en", "US"));
}

/**
Expand Down

0 comments on commit 122bd3b

Please sign in to comment.