Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
mikenairn committed Nov 16, 2023
1 parent ec17e76 commit 098f2fc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/e2e/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (

var (
tconfig SuiteConfig
managedZone *v1alpha1.ManagedZone
managedZone v1alpha1.ManagedZone
)

func TestAPIs(t *testing.T) {
Expand All @@ -36,7 +36,8 @@ var _ = BeforeSuite(func(ctx SpecContext) {
err = tconfig.InstallPrerequisites(ctx)
Expect(err).NotTo(HaveOccurred())

Expect(tconfig.HubClient().Get(ctx, client.ObjectKey{Namespace: tconfig.HubNamespace(), Name: tconfig.ManagedZoneName()}, managedZone)).To(Succeed())
err = tconfig.HubClient().Get(ctx, client.ObjectKey{Namespace: tconfig.HubNamespace(), Name: "mgc-dev-mz-aws"}, &managedZone)
Expect(err).NotTo(HaveOccurred())
})

var _ = AfterSuite(func(ctx SpecContext) {
Expand Down

0 comments on commit 098f2fc

Please sign in to comment.