(t *testing.T)
| 286 | } |
| 287 | |
| 288 | func TestAcceptedThenRejectedThreadStatus(t *testing.T) { |
| 289 | accepted := true |
| 290 | rejected := false |
| 291 | sampleThread := CommentThread{ |
| 292 | Comment: comment.Comment{ |
| 293 | Resolved: &accepted, |
| 294 | }, |
| 295 | Children: []CommentThread{ |
| 296 | CommentThread{ |
| 297 | Comment: comment.Comment{ |
| 298 | Timestamp: "012345", |
| 299 | Resolved: &rejected, |
| 300 | }, |
| 301 | }, |
| 302 | }, |
| 303 | } |
| 304 | sampleThread.updateResolvedStatus() |
| 305 | sampleThread.validateRejected(t) |
| 306 | } |
| 307 | |
| 308 | func TestRejectedThenAcceptedThreadStatus(t *testing.T) { |
| 309 | accepted := true |
nothing calls this directly
no test coverage detected