Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Commit

Permalink
Remove db encryption from API test
Browse files Browse the repository at this point in the history
  • Loading branch information
cpacia committed Jun 27, 2017
1 parent 8922196 commit 88188d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func NewRepository() (*Repository, error) {

// Create database
var err error
r.DB, err = db.Create(r.Path, r.Password, true)
r.DB, err = db.Create(r.Path, "", true)
if err != nil {
return nil, err
}
Expand Down Expand Up @@ -63,7 +63,7 @@ func (r *Repository) Reset() error {
}

// Rebuild any neccessary structure
err = repo.DoInit(r.Path, 4096, true, r.Password, r.Password, r.DB.Config().Init)
err = repo.DoInit(r.Path, 4096, true, "", r.Password, r.DB.Config().Init)
if err != nil && err != repo.ErrRepoExists {
return err
}
Expand Down

0 comments on commit 88188d6

Please sign in to comment.