Add playable hub travel with durable character transfers
This commit is contained in:
@@ -74,6 +74,15 @@ func TestCreateWorldPreservesValuesAndRetries(t *testing.T) {
|
||||
if _, err = c.CreateWorld(context.Background(), "../bad", "42"); err == nil {
|
||||
t.Fatal("invalid ID accepted")
|
||||
}
|
||||
if _, err = c.CreateInstance(context.Background(), "hub-001", "50", "hub"); err != nil || !strings.Contains(current, "kind: hub") {
|
||||
t.Fatal("hub definition missing", err, current)
|
||||
}
|
||||
if _, err = c.CreateInstance(context.Background(), "hub-001", "50", "hub"); err != nil || puts != 3 {
|
||||
t.Fatal("hub retry duplicated instance", err)
|
||||
}
|
||||
if _, err = c.CreateWorld(context.Background(), "hub-001", "50"); err == nil {
|
||||
t.Fatal("existing hub changed to survival world")
|
||||
}
|
||||
}
|
||||
func TestGitOpsConfigurationValidation(t *testing.T) {
|
||||
for _, repository := range []string{"http://example.test/o/r", "https://token@example.test/o/r", "https://example.test/only-one", "https://example.test/../repo"} {
|
||||
|
||||
Reference in New Issue
Block a user