Skip to content

Commit

Permalink
FORGE-1503: Testing against default category
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Jan 27, 2014
1 parent 4cf681a commit e2d27de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public String executeFromAnnotation(
return "Hello there !";
}

@Command(value = "Annotation Commands: Number 2", categories = "Root")
@Command("Annotation Commands: Number 2")
public void executeWithReservedParameters(
@Option(value = "name", label = "Field Name", required = true) String name,
UIOutput output,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public void testCommandMetadata() throws Exception
{
UICommandMetadata metadata = controller.getMetadata();
Assert.assertEquals("Annotation Commands: Number 2", metadata.getName());
Assert.assertEquals(Categories.create("Root"), metadata.getCategory());
Assert.assertEquals(Categories.createDefault(), metadata.getCategory());
}
}

Expand Down

0 comments on commit e2d27de

Please sign in to comment.