mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-06 20:13:59 -05:00
* Migrate Prysm repo to Offchain Labs organization ahead of Pectra upgrade v6 * Replace prysmaticlabs with OffchainLabs on general markdowns * Update mock * Gazelle and add mock.go to excluded generated mock file
14 lines
252 B
Go
14 lines
252 B
Go
package api
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/OffchainLabs/prysm/v6/testing/require"
|
|
)
|
|
|
|
func TestGenerateRandomHexString(t *testing.T) {
|
|
token, err := GenerateRandomHexString()
|
|
require.NoError(t, err)
|
|
require.NoError(t, ValidateAuthToken(token))
|
|
}
|