Commit Graph

5 Commits (1b90692844c1b714d9c03cf7c96e7f62923236c0)

Author SHA1 Message Date
Morlinest 8e61823ec4 Fix tests code to prevent some runtime errors ()
* Fix tests code to prevent some runtime errors

* Reduce nesting
Lunny Xiao cd1821a7e2 Move push update to post-receive and protected branch check to pre-receive ()
* move all push update to git hook post-receive and protected branch check to git hook pre-receive

* add SSH_ORIGINAL_COMMAND check back

* remove all unused codes

* fix the import
Ethan Koenig 8093b3372e Less boilerplate in models/ unit tests ()
Ethan Koenig 862948ab88 Better coverage and TODOs for update_test ()
Ethan Koenig de8b73dd92 Unit tests for token and update models