Skip to content

Commit 625b54e

Browse files
committed
Fixing unit test that reads from a file but initializes to a default value and hence the configuration is present.
1 parent e9d8384 commit 625b54e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zeppelin-zengine/src/test/java/org/apache/zeppelin/conf/ZeppelinConfigurationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public void getAllowedOriginsNoneTest() throws MalformedURLException, Configurat
5252

5353
ZeppelinConfiguration conf = new ZeppelinConfiguration(this.getClass().getResource("/zeppelin-site.xml"));
5454
List<String> origins = conf.getAllowedOrigins();
55-
Assert.assertEquals(0, origins.size());
55+
Assert.assertEquals(1, origins.size());
5656
}
5757

5858
@Test

0 commit comments

Comments
 (0)