mirror of
https://github.com/aykhans/slash-e.git
synced 2025-04-20 22:07:15 +00:00
chore: update test
This commit is contained in:
parent
898ca70ad1
commit
82ac6ab985
@ -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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user