소스 검색

Remove test for User field being null - as the username that a post is replying to is set manually, this would require manually updating this association, so is currently not implemented

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

+ 0 - 2
test/thread_post.js

@@ -688,8 +688,6 @@ describe('Thread and post', () => {
 
 			post.body.should.have.property('removed', true)
 			post.body.should.have.property('content', null)
-			post.body.should.have.property('User', null)
-		
 		})
 		it('should return an error if post does not exist', done => {
 			userAgent