@@ -785,8 +785,8 @@ func expectBuild(
785
785
// against it.
786
786
func expectBuildParameters (
787
787
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 ) {
790
790
mTx .EXPECT ().InsertWorkspaceBuildParameters (gomock .Any (), gomock .Any ()).
791
791
Times (1 ).
792
792
DoAndReturn (
@@ -818,8 +818,8 @@ func (m insertParameterMatcher) String() string {
818
818
return fmt .Sprintf ("ParameterValue %s=%s" , m .name , m .value )
819
819
}
820
820
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 ) {
823
823
del := mTx .EXPECT ().DeleteParameterValueByID (gomock .Any (), oldID ).
824
824
Times (1 ).
825
825
Return (nil )
@@ -830,8 +830,8 @@ func expectReplacedParam(oldID uuid.UUID, name, newValue string) func(store *moc
830
830
}
831
831
}
832
832
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 ) {
835
835
mTx .EXPECT ().InsertParameterValue (gomock .Any (), insertParameterMatcher {name , newValue }).
836
836
Times (1 ).
837
837
Return (database.ParameterValue {}, nil )
0 commit comments