소스 검색

Fixed email subject test

Torkel Ödegaard 10 년 전
부모
커밋
311946900e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      pkg/services/notifications/notifications_test.go

+ 1 - 1
pkg/services/notifications/notifications_test.go

@@ -31,7 +31,7 @@ func TestNotifications(t *testing.T) {
 			err := sendResetPasswordEmail(&m.SendResetPasswordEmailCommand{User: &m.User{Email: "asd@asd.com"}})
 			So(err, ShouldBeNil)
 			So(sentMsg.Body, ShouldContainSubstring, "body")
-			So(sentMsg.Subject, ShouldEqual, "Reset your Grafana password asd@asd.com")
+			So(sentMsg.Subject, ShouldEqual, "Reset your Grafana password - asd@asd.com")
 			So(sentMsg.Body, ShouldNotContainSubstring, "Subject")
 		})
 	})