Commit graph

12 commits

Author SHA1 Message Date
Michael Jerger
957b1023e9 refactoring: separaate model & module 2024-05-03 08:00:17 +02:00
Michael Jerger
87036ec719 Merge branch 'forgejo-federated-star' of codeberg.org:meissa/forgejo into forgejo-federated-star 2024-05-01 15:02:36 +02:00
erik
bbec2e2960 Fix test and add symmetry
This maybe was a mixup with TestActivityValidation.
We now test if the UnmarshalJSON actually threw an error.
2024-05-01 14:53:42 +02:00
Michael Jerger
6c7cff4f16 fix NPE 2024-05-01 14:39:09 +02:00
Michael Jerger
e9fed7a488 found NPE 2024-04-29 20:13:37 +02:00
Clemens
1ad7bdf983 fixed tests
part1, one test still failing
2024-03-28 09:36:08 +01:00
Michael Jerger
992fbf6898 comments 2024-03-28 07:44:22 +01:00
Michael Jerger
259c0202c7 fix test & add some review 2024-03-27 19:56:32 +01:00
Clemens
97b5e0da91 revise NewForgeLike
Also added new test, which still fails since time.Now() does not match
2024-03-27 16:20:33 +01:00
Michael Jerger
eecb9b8040 fmt fix 2024-02-10 15:22:30 +01:00
Michael Jerger
0505baab2b ad validation for like activity 2024-02-10 15:17:13 +01:00
Michael Jerger
3ab2d9a449 rename star -> ForgeLike 2024-02-10 15:17:12 +01:00
Renamed from models/forgefed/star_test.go (Browse further)