Skip to content

Commit

Permalink
Ensure buildRunSample is initialized
Browse files Browse the repository at this point in the history
  • Loading branch information
SaschaSchwarze0 committed Oct 7, 2021
1 parent 1d25350 commit e497e51
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pkg/reconciler/buildrun/buildrun_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ var _ = Describe("Reconcile BuildRun", func() {

// init the Build resource, this never change throughout this test suite
buildSample = ctl.DefaultBuild(buildName, strategyName, build.ClusterBuildStrategyKind)

buildRunSample = ctl.DefaultBuildRun(buildRunName, buildName)
})

// JustBeforeEach will always execute just before the It() specs,
Expand Down Expand Up @@ -1236,9 +1236,6 @@ var _ = Describe("Reconcile BuildRun", func() {
})

Context("when environment variables are specified", func() {
JustBeforeEach(func() {

})
It("fails when the name is blank", func() {
buildRunSample.Spec.Env = []corev1.EnvVar{
{
Expand Down

0 comments on commit e497e51

Please sign in to comment.