aboutsummaryrefslogtreecommitdiffstats
path: root/models/unit_tests.go
Commit message (Collapse)AuthorAgeFilesLines
* Complete push webhooks (#2530)David Schneiderbauer2017-09-211-0/+10
| | | | | | | | | | | | | | | | | * implemented missing 'delete' push webhooks moreover created ActionDeleteBranch and ActionDeleteTag * add CommitRepoAction tests for tag/branch creation/deletion * fixed error where push webhook not called if is new branch or tag removed unnecessary code * moved prepare unit test environment into separate method to be used across unit tests * add missing if clause in pushUpdate Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
* Use created & updated instead BeforeInsert & BeforeUpdate (#2482)Lunny Xiao2017-09-131-0/+1
| | | | | | | | | | | | * use created & updated instead BeforeInsert & BeforeUpdate * fix vendor checksum * only show generated SQL when development mode * remove extra update column updated_unix * remove trace config
* Fix counts on issues dashboard (#2215)Ethan Koenig2017-08-031-0/+18
| | | | | | | | | | * Fix counts on issues dashboard * setupSess -> setupSession * Unit test * Load repo owners for issues
* Fix issue updated_unix bug (#2204)Ethan Koenig2017-07-271-0/+6
|
* Fix compiling without sqlite and gcc (#2177)Lauris BH2017-07-261-18/+0
|
* Fix search by issue type (#1914)Ethan Koenig2017-06-151-7/+33
| | | | * Fix search by issue type
* Run unused testEthan Koenig2017-06-041-6/+0
|
* Fix and test for delete user (#1713)Ethan Koenig2017-05-201-0/+92
* Fix and test for delete user * Run updates in batches * Unit test