Skip to content

Commit 9f77961

Browse files
committed
Improved testing
1 parent 9489b3a commit 9f77961

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/java/io/fusionauth/http/server/HTTPContextTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,7 @@ public void testNormalizedPathWithinBaseDirSucceeds() {
217217
@Test
218218
public void testNonExistentFileReturnsNull() {
219219
URL result = context.getResource("does-not-exist.txt");
220-
// This might return null or try classpath lookup, either is acceptable
221-
// The key is it doesn't throw an exception or allow traversal
220+
assertNull(result);
222221
}
223222

224223
/**

0 commit comments

Comments
 (0)