Skip to content

Commit 8dac81f

Browse files
committed
Update placeholder values to be more unique
1 parent 4ccf464 commit 8dac81f

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/test/java/gov/usgs/earthquake/distribution/URLProductStorageTest.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,11 @@ public void testDefaultStoragePath() throws Exception {
2323
config.setProperty(URLProductStorage.URL_PROPERTY_NAME, "http://testserver/product/");
2424
storage.configure(config);
2525

26-
ProductId id = new ProductId("source", "type", "code", new Date());
26+
ProductId id = new ProductId("example_source", "example_type", "example_code", new Date());
2727
String path = storage.getProductPath(id);
28-
System.err.println(path);
29-
Assert.assertTrue("contains source", path.contains("source"));
30-
Assert.assertTrue("contains type", path.contains("type"));
31-
Assert.assertTrue("contains code", path.contains("code"));
28+
Assert.assertTrue("contains source", path.contains("example_source"));
29+
Assert.assertTrue("contains type", path.contains("example_type"));
30+
Assert.assertTrue("contains code", path.contains("example_code"));
3231
Assert.assertTrue(
3332
"contains updateTime",
3433
path.contains("" + id.getUpdateTime().getTime()));

0 commit comments

Comments
 (0)