aboutsummaryrefslogtreecommitdiffstats
path: root/modules/indexer/code/bleve_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/indexer/code/bleve_test.go')
-rw-r--r--modules/indexer/code/bleve_test.go30
1 files changed, 0 insertions, 30 deletions
diff --git a/modules/indexer/code/bleve_test.go b/modules/indexer/code/bleve_test.go
deleted file mode 100644
index 00bcd5c90c..0000000000
--- a/modules/indexer/code/bleve_test.go
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2019 The Gitea Authors. All rights reserved.
-// SPDX-License-Identifier: MIT
-
-package code
-
-import (
- "testing"
-
- "code.gitea.io/gitea/models/unittest"
-
- "github.com/stretchr/testify/assert"
-)
-
-func TestBleveIndexAndSearch(t *testing.T) {
- unittest.PrepareTestEnv(t)
-
- dir := t.TempDir()
-
- idx, _, err := NewBleveIndexer(dir)
- if err != nil {
- assert.Fail(t, "Unable to create bleve indexer Error: %v", err)
- if idx != nil {
- idx.Close()
- }
- return
- }
- defer idx.Close()
-
- testIndexer("beleve", t, idx)
-}