Renamed ctx to conf in search test
This commit is contained in:
parent
4e088ef7b7
commit
23e0dde0e3
1 changed files with 8 additions and 8 deletions
|
@ -8,13 +8,13 @@ import (
|
|||
)
|
||||
|
||||
func TestSearch_Photos_Query(t *testing.T) {
|
||||
ctx := config.TestConfig()
|
||||
conf := config.TestConfig()
|
||||
|
||||
ctx.CreateDirectories()
|
||||
conf.CreateDirectories()
|
||||
|
||||
ctx.InitializeTestData(t)
|
||||
conf.InitializeTestData(t)
|
||||
|
||||
search := NewSearch(ctx.OriginalsPath(), ctx.Db())
|
||||
search := NewSearch(conf.OriginalsPath(), conf.Db())
|
||||
|
||||
var form forms.PhotoSearchForm
|
||||
|
||||
|
@ -41,13 +41,13 @@ func TestSearch_Photos_Query(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestSearch_Photos_Camera(t *testing.T) {
|
||||
ctx := config.TestConfig()
|
||||
conf := config.TestConfig()
|
||||
|
||||
ctx.CreateDirectories()
|
||||
conf.CreateDirectories()
|
||||
|
||||
ctx.InitializeTestData(t)
|
||||
conf.InitializeTestData(t)
|
||||
|
||||
search := NewSearch(ctx.OriginalsPath(), ctx.Db())
|
||||
search := NewSearch(conf.OriginalsPath(), conf.Db())
|
||||
|
||||
var form forms.PhotoSearchForm
|
||||
|
||||
|
|
Loading…
Reference in a new issue