Skip to content

Commit 628d518

Browse files
committed
test: use variables in licenses unit tests
1 parent 0d0a9f9 commit 628d518

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/mirroring/get_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,12 +259,12 @@ func TestCheckLicense(t *testing.T) {
259259
}{
260260
{
261261
name: "Ultimate tier license",
262-
license: "ultimate",
262+
license: ULTIMATE_PLAN,
263263
expectedError: false,
264264
},
265265
{
266266
name: "Premium tier license",
267-
license: "premium",
267+
license: PREMIUM_PLAN,
268268
expectedError: false,
269269
},
270270
{

0 commit comments

Comments
 (0)