소스 검색

Update test

sbkwgh 8 년 전
부모
커밋
b4b1c2340d
1개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  1. 6 6
      test/notification.js

+ 6 - 6
test/notification.js

@@ -109,8 +109,8 @@ describe('Notifications', () => {
 			res.body.should.have.property('Notifications')
 			res.body.Notifications.should.have.property('length', 2)
 			res.body.Notifications.should.contain.something.that.has.deep.property('interacted', false)
-			res.body.Notifications.should.contain.something.that.has.deep.property('MentionNotification.User.username', 'useraccount')
-			res.body.Notifications.should.contain.something.that.has.deep.property('MentionNotification.Post.content', '<p>POST 1</p>\n')
+			res.body.Notifications.should.contain.something.that.has.deep.property('PostNotification.User.username', 'useraccount')
+			res.body.Notifications.should.contain.something.that.has.deep.property('PostNotification.Post.content', '<p>POST 1</p>\n')
 			res.body.should.have.property('unreadCount', 2)
 		})
 
@@ -147,8 +147,8 @@ describe('Notifications', () => {
 			res.body.should.have.property('Notifications')
 			res.body.Notifications.should.have.property('length', 2)
 			res.body.Notifications.should.contain.something.that.has.deep.property('interacted', false)
-			res.body.Notifications.should.contain.something.that.has.deep.property('MentionNotification.User.username', 'useraccount')
-			res.body.Notifications.should.contain.something.that.has.deep.property('MentionNotification.Post.content', '<p>POST 1</p>\n')
+			res.body.Notifications.should.contain.something.that.has.deep.property('PostNotification.User.username', 'useraccount')
+			res.body.Notifications.should.contain.something.that.has.deep.property('PostNotification.Post.content', '<p>POST 1</p>\n')
 			res.body.should.have.property('unreadCount', 0)
 
 		})
@@ -163,8 +163,8 @@ describe('Notifications', () => {
 			res.body.should.have.property('Notifications')
 			res.body.Notifications.should.have.property('length', 2)
 			res.body.Notifications.should.contain.something.that.has.deep.property('interacted', false)
-			res.body.Notifications.should.contain.something.that.has.deep.property('MentionNotification.User.username', 'useraccount')
-			res.body.Notifications.should.contain.something.that.has.deep.property('MentionNotification.Post.content', '<p>POST 1</p>\n')
+			res.body.Notifications.should.contain.something.that.has.deep.property('PostNotification.User.username', 'useraccount')
+			res.body.Notifications.should.contain.something.that.has.deep.property('PostNotification.Post.content', '<p>POST 1</p>\n')
 			res.body.should.have.property('unreadCount', 0)
 		})
 	})