Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix better assertion

  • Loading branch information...
commit 977079790a50b7a45b05375c783d815226d89b1a 1 parent 4d28d4a
@peterneubauer authored
View
2  server/src/functionaltest/java/org/neo4j/server/rest/ManageNodeFunctionalTest.java
@@ -102,7 +102,7 @@ public void create_Node_with_array_properties() throws Exception
.expectedHeader( "Content-Length" )
.post( functionalTestHelper.nodeUri() )
.response().getEntity();
- assertTrue( response.contains( "[ 1, 2, 3 ]" ) );
+ assertThat( response, containsString( "[ 1, 2, 3 ]" ) );
}
/**

0 comments on commit 9770797

Please sign in to comment.
Something went wrong with that request. Please try again.