Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
shrimalmadhur committed Jul 30, 2024
1 parent 166f9d9 commit 8c4b70e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/operator_metadata_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,15 @@ func TestOperatorMetadata(t *testing.T) {
expectedError: utils.WrapError(ErrInvalidName, utils.ErrTextTooLong(utils.TextCharsLimit)),
},
{
name: "Invalid metadata - description > 200 characters",
name: "Invalid metadata - description > 500 characters",
metadata: OperatorMetadata{
Name: "test",
Description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
Logo: "https://goerli-operator-metadata.s3.amazonaws.com/eigenlayer.png",
Twitter: "https://twitter.com/test",
Website: "https://test.com",
},
expectedError: utils.WrapError(ErrInvalidDescription, utils.ErrTextTooLong),
expectedError: utils.WrapError(ErrInvalidDescription, utils.ErrTextTooLong(utils.TextCharsLimit)),
},
{
name: "Invalid metadata - no logo",
Expand Down

0 comments on commit 8c4b70e

Please sign in to comment.