Ethan Koenig
91f3d77ceb
Unit tests for wiki routers ( #3022 )
7 years ago
Ethan Koenig
1028ef2def
Don't print SQL in unit tests ( #2995 )
...
* Add GITEA_UNIT_TESTS_VERBOSE environment variable to enable printing SQL
7 years ago
David Schneiderbauer
1eedd983ea
Complete push webhooks ( #2530 )
...
* 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>
7 years ago
Lunny Xiao
005900baea
Use created & updated instead BeforeInsert & BeforeUpdate ( #2482 )
...
* 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
7 years ago
Ethan Koenig
7e0654bd9e
Fix counts on issues dashboard ( #2215 )
...
* Fix counts on issues dashboard
* setupSess -> setupSession
* Unit test
* Load repo owners for issues
7 years ago
Ethan Koenig
a27863b6d1
Fix issue updated_unix bug ( #2204 )
8 years ago
Lauris BH
1d032f5220
Fix compiling without sqlite and gcc ( #2177 )
8 years ago
Ethan Koenig
8fcda0442e
Fix search by issue type ( #1914 )
...
* Fix search by issue type
8 years ago
Ethan Koenig
9f9289fc68
Run unused test
8 years ago
Ethan Koenig
cf02cd7ba0
Fix and test for delete user ( #1713 )
...
* Fix and test for delete user
* Run updates in batches
* Unit test
8 years ago
Ethan Koenig
c58708d3ee
Integration test framework ( #1290 )
...
* Integration test framework
* udpate drone sign
* Formatting fixes and move router.go to routers/
* update sign for drone
8 years ago
Ethan Koenig
cf80e19157
Optimize and unit test Issue_ReplaceLabels ( #1080 )
8 years ago
Ethan Koenig
ceae143e78
Consistency checks for unit tests ( #853 )
8 years ago
Ethan Koenig
d0960b8035
Move IssueUser code to separate file ( #836 )
...
Also add unit tests
8 years ago
Ethan Koenig
0a02fb3c4f
Windows compatibility for unit tests ( #800 )
8 years ago
Ethan Koenig
7765593018
Better settings for unit tests ( #795 )
8 years ago
Ethan Koenig
bb76285762
Unit tests for models/wiki
8 years ago
Ethan Koenig
a2412492da
Unit tests and bug fix for models/org
8 years ago
Ethan Koenig
0934d1b1ea
Bug fixes and unit tests for models/webhook ( #751 )
8 years ago
Ethan Koenig
8093b3372e
Less boilerplate in models/ unit tests ( #725 )
8 years ago
Ethan Koenig
4b23e6a694
Unit tests for models/action ( #619 )
8 years ago
Ethan Koenig
6072b03291
Unit tests for models/access.go ( #606 )
8 years ago
Ethan Koenig
de8b73dd92
Unit tests for token and update models
8 years ago