From 7e0a697cfec7cc5eb4c27c07a4aeda9aa0c9704a Mon Sep 17 00:00:00 2001 From: Dimmy Junior Date: Tue, 1 Oct 2024 15:33:53 -0300 Subject: [PATCH] fix tests --- test/integration/integration/apply_migrations_test.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/integration/apply_migrations_test.clj b/test/integration/integration/apply_migrations_test.clj index 18c65d8..09d49b1 100644 --- a/test/integration/integration/apply_migrations_test.clj +++ b/test/integration/integration/apply_migrations_test.clj @@ -35,7 +35,7 @@ (and (= (:path request) (str "/repos/" org "/" repository "/pulls")) (standalone/match? - {:title #(clojure.string/starts-with? % title-prefix) + {:title #(or (clojure.string/starts-with? % title-prefix) (clojure.string/includes? % (-> migrations first :title)) ) :body (fn [txt] (every? (partial includes-migration-info? txt) migrations))} (json/parse-string (:body request) keyword)))))