Skip to content
Browse files

Minor fix.

  • Loading branch information...
1 parent cc44078 commit 287c2e80d4f591d0ac9a83e25045b3fa7057a283 @analytically committed May 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/test/java/com/zestia/rest/capsule/restapi/SocialNetworkLinks.java
View
2 src/test/java/com/zestia/rest/capsule/restapi/SocialNetworkLinks.java
@@ -176,7 +176,7 @@ public void run() {
party.addContact(twitterLink);
WS.Response response = party.save().get();
- if (response.getStatus() != 200 || response.getStatus() != 201) {
+ if (response.getStatus() < 200 || response.getStatus() > 206) {
logger.info("Failure saving party " + party + ", response " + response.getStatusText());
}
}

0 comments on commit 287c2e8

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