Remove outdated partition label from test

This commit is contained in:
freddygv 2021-10-25 18:15:24 -06:00
parent 5c24ed61a8
commit 8aefdc31da
1 changed files with 3 additions and 3 deletions

View File

@ -1668,7 +1668,7 @@ func TestDecodeConfigEntry(t *testing.T) {
name: "partition-exports", name: "partition-exports",
snake: ` snake: `
kind = "partition-exports" kind = "partition-exports"
partition = "foo" name = "foo"
meta { meta {
"foo" = "bar" "foo" = "bar"
"gir" = "zim" "gir" = "zim"
@ -1699,7 +1699,7 @@ func TestDecodeConfigEntry(t *testing.T) {
`, `,
camel: ` camel: `
Kind = "partition-exports" Kind = "partition-exports"
Partition = "foo" Name = "foo"
Meta { Meta {
"foo" = "bar" "foo" = "bar"
"gir" = "zim" "gir" = "zim"
@ -1729,6 +1729,7 @@ func TestDecodeConfigEntry(t *testing.T) {
] ]
`, `,
expect: &PartitionExportsConfigEntry{ expect: &PartitionExportsConfigEntry{
Name: "foo",
Meta: map[string]string{ Meta: map[string]string{
"foo": "bar", "foo": "bar",
"gir": "zim", "gir": "zim",
@ -1756,7 +1757,6 @@ func TestDecodeConfigEntry(t *testing.T) {
}, },
}, },
}, },
EnterpriseMeta: NewEnterpriseMetaWithPartition("foo", ""),
}, },
}, },
} { } {