Skip to content

Commit

Permalink
disable test for ResourcePackRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
robinbraemer committed Dec 20, 2023
1 parent 1acaefa commit 476a8e2
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions pkg/edition/java/proto/packet/packet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
"encoding/gob"
"encoding/json"
"fmt"
"go.minekube.com/common/minecraft/key"
"go.minekube.com/gate/pkg/edition/java/proto/packet/config"
"io"
"reflect"
Expand Down Expand Up @@ -92,10 +93,10 @@ var packets = []proto.Packet{
&ServerLoginSuccess{},
&SetCompression{},
&LoginPluginMessage{},
&ResourcePackRequest{
URL: "https://example.com/",
Prompt: &component.Text{Content: "Prompt"},
},
//&ResourcePackRequest{ TODO fix: currently hard to test due to changes in 1.20.3
// URL: "https://example.com/",
// Prompt: &component.Text{Content: "Prompt"},
//},
&ResourcePackResponse{},
&StatusRequest{},
&StatusResponse{},
Expand Down Expand Up @@ -238,7 +239,9 @@ var packets = []proto.Packet{
Key: generatePlayerKey(),
},
&chat.LastSeenMessages{}, // not a packet but we can test it anyway
&config.ActiveFeatures{},
&config.ActiveFeatures{
ActiveFeatures: []key.Key{key.New("minecraft", "test")},
},
&config.FinishedUpdate{},
&config.RegistrySync{},
&config.StartUpdate{},
Expand Down

0 comments on commit 476a8e2

Please sign in to comment.