Ensure the plan test mocks' expectations are met [#33]
This commit is contained in:
parent
80b26434f5
commit
52c9fb552c
|
@ -20,6 +20,7 @@ func TestPlanTestSuite(t *testing.T) {
|
||||||
|
|
||||||
func (suite *PlanTestSuite) TestNewPlan() {
|
func (suite *PlanTestSuite) TestNewPlan() {
|
||||||
ctrl := gomock.NewController(suite.T())
|
ctrl := gomock.NewController(suite.T())
|
||||||
|
defer ctrl.Finish()
|
||||||
stepOne := NewMockStep(ctrl)
|
stepOne := NewMockStep(ctrl)
|
||||||
stepTwo := NewMockStep(ctrl)
|
stepTwo := NewMockStep(ctrl)
|
||||||
|
|
||||||
|
@ -63,6 +64,7 @@ func (suite *PlanTestSuite) TestNewPlan() {
|
||||||
|
|
||||||
func (suite *PlanTestSuite) TestNewPlanAbortsOnError() {
|
func (suite *PlanTestSuite) TestNewPlanAbortsOnError() {
|
||||||
ctrl := gomock.NewController(suite.T())
|
ctrl := gomock.NewController(suite.T())
|
||||||
|
defer ctrl.Finish()
|
||||||
stepOne := NewMockStep(ctrl)
|
stepOne := NewMockStep(ctrl)
|
||||||
stepTwo := NewMockStep(ctrl)
|
stepTwo := NewMockStep(ctrl)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue