Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fix better assertion

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

0 comments on commit 9770797

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