Skip to content

Commit

Permalink
CMR-10141-1: Fixing broken build
Browse files Browse the repository at this point in the history
  • Loading branch information
eereiter committed Nov 12, 2024
1 parent 9445088 commit 3bb3630
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,9 @@
(is (= (dissoc (expected-concept concept) :coll-concept-id)
(dissoc stored-concept :revision-date :transaction-id :created-at :coll-concept-id)))
(is (= (expected-concept concept)
(dissoc stored-concept :revision-date :transaction-id :created-at))))))
(util/dissoc-in
(dissoc stored-concept :revision-date :transaction-id :created-at)
[:extra-fields :aws-arn]))))))

(defn is-tag-association-deleted?
"Returns if the ta is marked as deleted in metadata-db"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
(if (sub-note/subscription-exists? db subscription-id)
(if (sub-note/sub-notification-exists? db subscription-id)
(sub-note/update-sub-notification db subscription-id last-notified-time)
(sub-note/save-sub-notification db subscription-id))
(do
(sub-note/save-sub-notification db subscription-id)
(sub-note/update-sub-notification db subscription-id last-notified-time)))
(errors/throw-service-error :not-found (msg/subscription-not-found subscription-id))))

(defn update-subscription-notification
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
params {:revision-date-range (str "2016-01-02T00:00:00Z," (t/now))}
_manual-endpoint (jobs/trigger-email-subscription-processing system-context params)
postjob-subscriptions (get-subscriptions)]
(is (some? (get-in (first prejob-subscriptions) [:extra-fields :last-notified-at])))
(is (nil? (get-in (first prejob-subscriptions) [:extra-fields :last-notified-at])))
(is (= prejob-subscriptions postjob-subscriptions))))))))

(deftest ^:oracle subscription-email-processing-time-constraint-test
Expand Down

0 comments on commit 3bb3630

Please sign in to comment.