Skip to content

Commit

Permalink
Merge pull request #96 from davidkarlsen/feature/fix-tests
Browse files Browse the repository at this point in the history
Drop duplicated code.
  • Loading branch information
raffaelespazzoli authored Sep 21, 2023
2 parents 5e87c24 + 703c4e6 commit 7e05c5c
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions controllers/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,6 @@ var _ = BeforeSuite(func(done Done) {
err = operatorutilsv1alpha1.AddToScheme(scheme.Scheme)
Expect(err).NotTo(HaveOccurred())

err = operatorutilsv1alpha1.AddToScheme(scheme.Scheme)
Expect(err).NotTo(HaveOccurred())

err = operatorutilsv1alpha1.AddToScheme(scheme.Scheme)
Expect(err).NotTo(HaveOccurred())

err = operatorutilsv1alpha1.AddToScheme(scheme.Scheme)
Expect(err).NotTo(HaveOccurred())

// +kubebuilder:scaffold:scheme

k8sClient, err = client.New(cfg, client.Options{Scheme: scheme.Scheme})
Expand Down

0 comments on commit 7e05c5c

Please sign in to comment.