mirror of
https://github.com/go-gitea/gitea.git
synced 2025-03-24 01:35:40 +08:00

#15546 doesn't completely fix this problem because the error returned is an ObjectNotExist error not a BranchNotExist error. Add test for ErrObjectNotExist too Fix #15257 Signed-off-by: Andrew Thornton <art27@cantab.net>