app: add tests for `redirectTreeOrBlob`
Created by: unknwon
NOTE: Couldn't find a way to mock mux.Vars(r)
so make that as an argument instead.
Fixes #10260 (closed).
Created by: unknwon
NOTE: Couldn't find a way to mock mux.Vars(r)
so make that as an argument instead.
Fixes #10260 (closed).