Skip to content

Commit

Permalink
fix: Fix type hist positions in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
liquidz committed Oct 2, 2023
1 parent eabbd3c commit 3868b0e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion test/tarayo/mail/mime/message_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
(.saveChanges msg)
(t/is (= "foo" (.getMessageID msg)))))))

(defn- ^MimeMessage gen-test-message
(defn- gen-test-message
^MimeMessage
[]
(let [{:keys [session]} (h/test-connection)
^Calendar cal (doto (Calendar/getInstance)
Expand Down
3 changes: 2 additions & 1 deletion test/tarayo/test_helper.clj
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@
(tarayo-user-agent? (first x))
(some? (re-seq #"^tarayo/.+$" x))))

(defn ^SMTPTransport test-transport
(defn test-transport
^SMTPTransport
[]
(proxy [SMTPTransport] [(session/make-session) (jakarta.mail.URLName. "localhost")]
(connect
Expand Down

0 comments on commit 3868b0e

Please sign in to comment.