This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new 49296b3 Camel-Wordpress: Fixed CS
49296b3 is described below
commit 49296b3284eef3dba45d4b3e059301c88eb0601c
Author: Andrea Cosentino <[email protected]>
AuthorDate: Tue Dec 1 14:52:32 2020 +0100
Camel-Wordpress: Fixed CS
---
.../org/apache/camel/component/wordpress/WordpressComponentTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/components/camel-wordpress/src/test/java/org/apache/camel/component/wordpress/WordpressComponentTest.java
b/components/camel-wordpress/src/test/java/org/apache/camel/component/wordpress/WordpressComponentTest.java
index c44e611..b99343e 100644
---
a/components/camel-wordpress/src/test/java/org/apache/camel/component/wordpress/WordpressComponentTest.java
+++
b/components/camel-wordpress/src/test/java/org/apache/camel/component/wordpress/WordpressComponentTest.java
@@ -45,7 +45,7 @@ public class WordpressComponentTest extends CamelTestSupport {
assertThat(endpoint.getConfiguration().getCriteria().get("page"),
is("1"));
assertThat(endpoint.getConfiguration().getCriteria().get("perPage"),
is("10"));
assertThat(endpoint.getConfiguration().getCriteria().get("search"),
is("test"));
- assertThat((endpoint.getConfiguration().getCriteria().get("orderBy")),
is("author"));
+ assertThat(endpoint.getConfiguration().getCriteria().get("orderBy"),
is("author"));
LOGGER.info("Categories are {}",
((PostSearchCriteria)
endpoint.getConfiguration().getSearchCriteria()).getCategories());