File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
opengrok-web/src/test/java/org/opengrok/web Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 1818 */
1919
2020/*
21- * Copyright (c) 2021, 2022 , Oracle and/or its affiliates. All rights reserved.
21+ * Copyright (c) 2021, 2025 , Oracle and/or its affiliates. All rights reserved.
2222 */
2323package org .opengrok .web ;
2424
3232import org .opengrok .indexer .util .TestRepository ;
3333import org .opengrok .indexer .web .QueryParameters ;
3434
35+ import java .net .URL ;
36+
3537import static org .junit .jupiter .api .Assertions .assertAll ;
3638import static org .junit .jupiter .api .Assertions .assertEquals ;
3739import static org .junit .jupiter .api .Assertions .assertFalse ;
@@ -50,7 +52,9 @@ class DiffTest {
5052 @ BeforeAll
5153 static void setUp () throws Exception {
5254 repository = new TestRepository ();
53- repository .create (DiffTest .class .getResource ("/repositories" ));
55+ URL resource = DiffTest .class .getResource ("/repositories" );
56+ assertNotNull (resource );
57+ repository .create (resource );
5458
5559 env .setSourceRoot (repository .getSourceRoot ());
5660 env .setDataRoot (repository .getDataRoot ());
You can’t perform that action at this time.
0 commit comments