Skip to content

Commit

Permalink
Merge pull request #893 from SaschaSchwarze0/sascha-fix-make-test-uni…
Browse files Browse the repository at this point in the history
…t-ginkgo

Ensure buildRunSample is initialized
  • Loading branch information
openshift-merge-robot authored Oct 7, 2021
2 parents 1d25350 + e497e51 commit 645972b
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 645972b

Please sign in to comment.