Skip to content

Commit

Permalink
feat(objectionary#2331): Add new puzzle
Browse files Browse the repository at this point in the history
  • Loading branch information
volodya-lombrozo committed Aug 14, 2023
1 parent ac82872 commit e190328
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ public ForeignTojo add(final ObjectName name) {
* Find tojo by tojo id.
* @param id The id of the tojo.
* @return The tojo.
* @todo #2331:90min Add unit test for ForeignTojos.find method.
* The test should check that the method returns the tojo with the
* specified id. When the test is ready, remove that puzzle.
*/
public ForeignTojo find(final String id) {
return new ForeignTojo(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ void findsProbesViaOfflineHash(@TempDir final Path temp) throws IOException {
new FakeMaven(temp)
.with("hsh", new ChPattern("*.*.*:abcdefg", "1.0.0"))
.withProgram(ProbeMojoTest.program())
.execute(new FakeMaven.Probe()).programTojo()
.execute(new FakeMaven.Probe())
.programTojo()
.hash(),
Matchers.equalTo("abcdefg")
);
Expand Down

0 comments on commit e190328

Please sign in to comment.