Skip to content

Commit

Permalink
For #1333: Review changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulodamaso committed Aug 24, 2018
1 parent e4771cb commit 86a1eb7
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/test/java/com/zerocracy/pmo/CatalogTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
import org.hamcrest.MatcherAssert;
import org.hamcrest.Matchers;
import org.hamcrest.collection.IsEmptyIterable;
import org.hamcrest.core.IsCollectionContaining;
import org.hamcrest.core.IsEqual;
import org.hamcrest.core.IsNot;
import org.junit.Ignore;
Expand Down Expand Up @@ -224,14 +225,16 @@ public void catalogHasBoardPageInfo() throws Exception {
);
try (final Item item = CatalogTest.item(project)) {
MatcherAssert.assertThat(
"Architect not found",
"Architect(s) not found",
new Xocument(item.path()).xpath(
new FormattedText(
"/catalog/project[@id='%s']/architect",
project.pid()
).asString()
),
new IsEqual<>(arc)
new IsCollectionContaining<>(
new IsEqual<String>(arc)
)
);
MatcherAssert.assertThat(
"Members not found",
Expand All @@ -241,7 +244,9 @@ public void catalogHasBoardPageInfo() throws Exception {
project.pid()
).asString()
),
new IsEqual<>(dev)
new IsCollectionContaining<>(
new IsEqual<String>(dev)
)
);
MatcherAssert.assertThat(
"Jobs not found",
Expand Down

0 comments on commit 86a1eb7

Please sign in to comment.