Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix test
Browse files Browse the repository at this point in the history
gnodet committed Jun 1, 2023
1 parent 41324ef commit 4210366
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -67,7 +67,7 @@ void testValidate() {
validator.validate(model, problems);
assertEquals(0, problems.messages.size());

Repository repo = new Repository();
Repository repo = new Repository(org.apache.maven.api.settings.Repository.newInstance(false));
prof.addRepository(repo);
problems = new SimpleProblemCollector();
validator.validate(model, problems);

0 comments on commit 4210366

Please sign in to comment.