Skip to content

Commit

Permalink
tests: correct test after schema change
Browse files Browse the repository at this point in the history
  • Loading branch information
GGabriele committed Apr 18, 2024
1 parent 949a003 commit 9bf49ba
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/integration/sync_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,7 @@ var (
},
}

consumerGroupScopedPlugins35x = []*kong.Plugin{
consumerGroupScopedPlugins36x = []*kong.Plugin{
{
Name: kong.String("rate-limiting-advanced"),
ConsumerGroup: &kong.ConsumerGroup{
Expand Down Expand Up @@ -1089,6 +1089,7 @@ var (
"key_in_header": true,
"key_in_query": true,
"key_names": []interface{}{"apikey"},
"realm": nil,
"run_on_preflight": true,
},
Enabled: kong.Bool(true),
Expand Down Expand Up @@ -4298,7 +4299,7 @@ func Test_Sync_ConsumerGroupsScopedPlugins(t *testing.T) {
}
}

func Test_Sync_ConsumerGroupsScopedPlugins_After350(t *testing.T) {
func Test_Sync_ConsumerGroupsScopedPlugins_After360(t *testing.T) {
const (
maxGoldRequestsNumber = 10
maxSilverRequestsNumber = 7
Expand Down Expand Up @@ -4340,7 +4341,7 @@ func Test_Sync_ConsumerGroupsScopedPlugins_After350(t *testing.T) {
},
},
},
Plugins: consumerGroupScopedPlugins35x,
Plugins: consumerGroupScopedPlugins36x,
Services: svc1_207,
Routes: route1_20x,
KeyAuths: []*kong.KeyAuth{
Expand Down Expand Up @@ -4501,7 +4502,7 @@ func Test_Sync_ConsumerGroupsScopedPluginsKonnect(t *testing.T) {
},
},
},
Plugins: consumerGroupScopedPlugins35x,
Plugins: consumerGroupScopedPlugins36x,
Services: svc1_207,
Routes: route1_20x,
KeyAuths: []*kong.KeyAuth{
Expand Down

0 comments on commit 9bf49ba

Please sign in to comment.