We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 063a7c6 commit c20de16Copy full SHA for c20de16
java-snapshot-testing-core/src/main/java/au/com/origin/snapshots/SnapshotProperties.java
@@ -16,7 +16,8 @@ public enum SnapshotProperties {
16
17
SnapshotProperties() {
18
try {
19
- InputStream in = SnapshotProperties.class.getResourceAsStream("/snapshot.properties");
+ InputStream in =
20
+ SnapshotProperties.class.getClassLoader().getResourceAsStream("snapshot.properties");
21
snapshotProperties.load(in);
22
} catch (Exception e) {
23
// It's ok, if the SnapshotConfig implementation attempts to get a property they will receive
0 commit comments