Skip to content

Commit

Permalink
Fix Test_ValidatorsAPI parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
muXxer committed May 12, 2024
1 parent 3f7dfae commit 4162426
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tools/docker-network/tests/api_core_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (
"net/http"
"sync"
"testing"
"time"

"github.com/stretchr/testify/require"

Expand Down Expand Up @@ -260,10 +259,7 @@ func prepareAssets(d *dockertestframework.DockerTestFramework, totalAssetsNum in
// 5. Wait until next epoch then check again if the results remain.
func Test_ValidatorsAPI(t *testing.T) {
d := dockertestframework.NewDockerTestFramework(t,
dockertestframework.WithProtocolParametersOptions(
iotago.WithTimeProviderOptions(5, time.Now().Unix(), 10, 4),
iotago.WithLivenessOptions(10, 10, 2, 4, 8),
),
dockertestframework.WithProtocolParametersOptions(dockertestframework.ShortSlotsAndEpochsProtocolParametersOptions...),
)
defer d.Stop()

Expand Down

0 comments on commit 4162426

Please sign in to comment.