Skip to content

Commit

Permalink
use kong.RunWhenKong for old tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aboudreault committed Jun 7, 2023
1 parent c6a29c9 commit f257279
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/sync_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1480,7 +1480,7 @@ func Test_Sync_Upstream_Target_From_30(t *testing.T) {

for _, tc := range tests {
t.Run(tc.name, func(t *testing.T) {
runWhenKongOrKonnect(t, ">=3.0.0 <3.1.0")
kong.RunWhenKong(t, ">=3.0.0 <3.1.0")
teardown := setup(t)
defer teardown(t)

Expand Down Expand Up @@ -1632,7 +1632,7 @@ func Test_Sync_Upstreams_Target_ZeroWeight_30(t *testing.T) {

for _, tc := range tests {
t.Run(tc.name, func(t *testing.T) {
runWhenKongOrKonnect(t, ">=3.0.0 <3.1.0")
kong.RunWhenKong(t, ">=3.0.0 <3.1.0")
teardown := setup(t)
defer teardown(t)

Expand Down

0 comments on commit f257279

Please sign in to comment.