diff options
author | Jonas Franz <info@jonasfranz.software> | 2018-10-05 17:49:30 +0200 |
---|---|---|
committer | techknowlogick <hello@techknowlogick.com> | 2018-10-05 11:49:30 -0400 |
commit | 94cd7bb25b8f142d2865aaf740ae19cd98ca6927 (patch) | |
tree | b19ee5809be0ca0462d7212eace924f634af95c9 /models/fixtures/comment.yml | |
parent | d7ca839c678a4ee3226bf23b4f439e026fe67a53 (diff) | |
download | gitea-94cd7bb25b8f142d2865aaf740ae19cd98ca6927.tar.gz gitea-94cd7bb25b8f142d2865aaf740ae19cd98ca6927.zip |
Hide outdated comments in file view (#5017)
* Hide outdated comments in file view
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Add unit test by adding "invalidated" comment to fixtures
Signed-off-by: Jonas Franz <info@jonasfranz.software>
Diffstat (limited to 'models/fixtures/comment.yml')
-rw-r--r-- | models/fixtures/comment.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/models/fixtures/comment.yml b/models/fixtures/comment.yml index 6d4812f096..6abd26973b 100644 --- a/models/fixtures/comment.yml +++ b/models/fixtures/comment.yml @@ -41,3 +41,14 @@ tree_path: "README.md" created_unix: 946684812 invalidated: false + +- + id: 6 + type: 21 # code comment + poster_id: 1 + issue_id: 2 + content: "it's already invalidated. boring..." + line: -4 + tree_path: "README.md" + created_unix: 946684812 + invalidated: true |