Skip to content

Commit de72bd7

Browse files
committed
fix tests
1 parent e97344a commit de72bd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/watcher/instance/nginx-app-protect-instance-watcher_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ func TestNginxAppProtectInstanceWatcher_Watch(t *testing.T) {
110110
expectedInstance.GetInstanceRuntime().GetNginxAppProtectRuntimeInfo().EnforcerEngineVersion = "6.113.0"
111111

112112
assert.Eventually(t, func() bool {
113-
return proto.Equal(nginxAppProtectInstanceWatcher.nginxAppProtectInstance, expectedInstance)
113+
return proto.Equal(nginxAppProtectInstanceWatcher.NginxAppProtectInstance(), expectedInstance)
114114
}, timeout, 30*time.Millisecond)
115115
})
116116
t.Run("Test 3: Delete instance", func(t *testing.T) {

0 commit comments

Comments
 (0)