diff options
author | John Olheiser <john.olheiser@gmail.com> | 2022-09-27 17:23:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-28 00:23:58 +0200 |
commit | 8cd3237a9ef6dfa438d97c7ff2ffbd5fb8db6247 (patch) | |
tree | a14920625aff08e3bac8e001b58a087afbb1c294 /tests | |
parent | 904b324716933561028205b23ac10088f108a6de (diff) | |
download | gitea-8cd3237a9ef6dfa438d97c7ff2ffbd5fb8db6247.tar.gz gitea-8cd3237a9ef6dfa438d97c7ff2ffbd5fb8db6247.zip |
Better repo API unit checks (#21130)
This PR would presumably
Fix #20522
Fix #18773
Fix #19069
Fix #21077
Fix #13622
-----
1. Check whether unit type is currently enabled
2. Check if it _will_ be enabled via opt
3. Allow modification as necessary
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/e2e/e2e_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/e2e/e2e_test.go b/tests/e2e/e2e_test.go index eb2b1d70f8..6028ff74fc 100644 --- a/tests/e2e/e2e_test.go +++ b/tests/e2e/e2e_test.go @@ -72,8 +72,7 @@ func TestMain(m *testing.M) { os.Exit(exitVal) } -// TestE2e should be the only test e2e necessary. It will collect all "*.test.e2e.js" -// files in this directory and build a test for each. +// TestE2e should be the only test e2e necessary. It will collect all "*.test.e2e.js" files in this directory and build a test for each. func TestE2e(t *testing.T) { // Find the paths of all e2e test files in test test directory. searchGlob := filepath.Join(filepath.Dir(setting.AppPath), "tests", "e2e", "*.test.e2e.js") |