Skip to content

Commit f2e84cf

Browse files
yiduokeygliuvt
authored andcommitted
CMR-6955
1 parent 01211cd commit f2e84cf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

system-int-test/test/cmr/system_int_test/admin/cache_api_test.clj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
status (:status response)]
2929

3030
;; Make sure the status returned is success
31-
(when (< status 200)
31+
(when (not= status 200)
3232
(throw (Exception. (str "Unexpected status " status " response:" (:body response)))))
3333
(json/decode (:body response) true)))
3434

@@ -43,7 +43,7 @@
4343
:throw-exceptions false})
4444
status (:status response)]
4545
;; Make sure the status returned is success
46-
(when (< status 200)
46+
(when (not= status 200)
4747
(throw (Exception. (str "Unexpected status " status " response:" (:body response)))))
4848
(json/decode (:body response) true)))
4949

@@ -58,7 +58,7 @@
5858
:throw-exceptions false})
5959
status (:status response)]
6060
;; Make sure the status returned success
61-
(when (< status 200)
61+
(when (not= status 200)
6262
(throw (Exception. (str "Unexpected status " status " response:" (:body response)))))
6363
(json/decode (:body response) true)))
6464

0 commit comments

Comments
 (0)