(t *testing.T)
| 306 | } |
| 307 | |
| 308 | func TestRejectedThenAcceptedThreadStatus(t *testing.T) { |
| 309 | accepted := true |
| 310 | rejected := false |
| 311 | sampleThread := CommentThread{ |
| 312 | Comment: comment.Comment{ |
| 313 | Resolved: &rejected, |
| 314 | }, |
| 315 | Children: []CommentThread{ |
| 316 | CommentThread{ |
| 317 | Comment: comment.Comment{ |
| 318 | Timestamp: "012345", |
| 319 | Resolved: &accepted, |
| 320 | }, |
| 321 | }, |
| 322 | }, |
| 323 | } |
| 324 | sampleThread.updateResolvedStatus() |
| 325 | sampleThread.validateUnresolved(t) |
| 326 | } |
| 327 | |
| 328 | func TestRejectedThenFYIThreadStatus(t *testing.T) { |
| 329 | rejected := false |
nothing calls this directly
no test coverage detected