chore: update test

This commit is contained in:
Steven 2023-10-31 08:43:30 +08:00
parent 898ca70ad1
commit 82ac6ab985

View File

@ -1,7 +1,6 @@
package license package license
import ( import (
"errors"
"testing" "testing"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
@ -18,7 +17,6 @@ func TestValidateLicenseKey(t *testing.T) {
name: "Testing license key", name: "Testing license key",
key: "26B383EE-95B2-4458-9C58-B376BD6183B1", key: "26B383EE-95B2-4458-9C58-B376BD6183B1",
expected: false, expected: false,
err: errors.New("invalid store or product id"),
}, },
{ {
name: "invalid key", name: "invalid key",