Skip to content

Commit 43b5bbb

Browse files
committed
test: fix tests after refactoring
1 parent 2befba5 commit 43b5bbb

File tree

5 files changed

+8
-11
lines changed

5 files changed

+8
-11
lines changed

db/bolt/project_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ package bolt
22

33
import (
44
"github.com/semaphoreui/semaphore/db"
5+
"github.com/semaphoreui/semaphore/pkg/tz"
56
"testing"
6-
"time"
77
)
88

99
func TestGetProjects(t *testing.T) {

db/bolt/template_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ package bolt
22

33
import (
44
"github.com/semaphoreui/semaphore/db"
5+
"github.com/semaphoreui/semaphore/pkg/tz"
56
"testing"
6-
"time"
77
)
88

99
func Test_SetTemplateDescription(t *testing.T) {

db/bolt/template_vault_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
package bolt
22

33
import (
4-
"testing"
5-
"time"
6-
74
"github.com/semaphoreui/semaphore/db"
5+
"github.com/semaphoreui/semaphore/pkg/tz"
6+
"testing"
87
)
98

109
func TestGetTemplateVaults(t *testing.T) {

db/bolt/user_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
package bolt
22

33
import (
4-
"testing"
5-
"time"
6-
74
"github.com/semaphoreui/semaphore/db"
5+
"github.com/semaphoreui/semaphore/pkg/tz"
86
"github.com/stretchr/testify/require"
7+
"testing"
98
)
109

1110
func TestBoltDb_UpdateProjectUser(t *testing.T) {

db/bolt/view_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
package bolt
22

33
import (
4+
"github.com/semaphoreui/semaphore/db"
5+
"github.com/semaphoreui/semaphore/pkg/tz"
46
"sort"
57
"testing"
6-
"time"
7-
8-
"github.com/semaphoreui/semaphore/db"
98
)
109

1110
func TestGetViews(t *testing.T) {

0 commit comments

Comments
 (0)