Skip to content

Commit 5cb2d2a

Browse files
committedMay 23, 2023
Fix test imports
Signed-off-by: Spike Curtis <spike@coder.com>
1 parent acd1243 commit 5cb2d2a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed
 

‎coderd/wsbuilder/wsbuilder_test.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -785,8 +785,8 @@ func expectBuild(
785785
// against it.
786786
func expectBuildParameters(
787787
assertions func(database.InsertWorkspaceBuildParametersParams),
788-
) func(mTx *mock.MockStore) {
789-
return func(mTx *mock.MockStore) {
788+
) func(mTx *dbmock.MockStore) {
789+
return func(mTx *dbmock.MockStore) {
790790
mTx.EXPECT().InsertWorkspaceBuildParameters(gomock.Any(), gomock.Any()).
791791
Times(1).
792792
DoAndReturn(
@@ -818,8 +818,8 @@ func (m insertParameterMatcher) String() string {
818818
return fmt.Sprintf("ParameterValue %s=%s", m.name, m.value)
819819
}
820820

821-
func expectReplacedParam(oldID uuid.UUID, name, newValue string) func(store *mock.MockStore) {
822-
return func(mTx *mock.MockStore) {
821+
func expectReplacedParam(oldID uuid.UUID, name, newValue string) func(store *dbmock.MockStore) {
822+
return func(mTx *dbmock.MockStore) {
823823
del := mTx.EXPECT().DeleteParameterValueByID(gomock.Any(), oldID).
824824
Times(1).
825825
Return(nil)
@@ -830,8 +830,8 @@ func expectReplacedParam(oldID uuid.UUID, name, newValue string) func(store *moc
830830
}
831831
}
832832

833-
func expectInsertedParam(name, newValue string) func(store *mock.MockStore) {
834-
return func(mTx *mock.MockStore) {
833+
func expectInsertedParam(name, newValue string) func(store *dbmock.MockStore) {
834+
return func(mTx *dbmock.MockStore) {
835835
mTx.EXPECT().InsertParameterValue(gomock.Any(), insertParameterMatcher{name, newValue}).
836836
Times(1).
837837
Return(database.ParameterValue{}, nil)

0 commit comments

Comments
 (0)