(t *testing.T)
| 345 | } |
| 346 | |
| 347 | func TestRejectedThenRejectedThreadStatus(t *testing.T) { |
| 348 | rejected := false |
| 349 | sampleThread := CommentThread{ |
| 350 | Comment: comment.Comment{ |
| 351 | Resolved: &rejected, |
| 352 | }, |
| 353 | Children: []CommentThread{ |
| 354 | CommentThread{ |
| 355 | Comment: comment.Comment{ |
| 356 | Timestamp: "012345", |
| 357 | Resolved: &rejected, |
| 358 | }, |
| 359 | }, |
| 360 | }, |
| 361 | } |
| 362 | sampleThread.updateResolvedStatus() |
| 363 | sampleThread.validateRejected(t) |
| 364 | } |
| 365 | |
| 366 | func TestRejectedThenAcceptedThreadsStatus(t *testing.T) { |
| 367 | accepted := true |
nothing calls this directly
no test coverage detected