@@ -42,7 +42,7 @@ func TestRunL1NodeNetworkSelect_SaveToState(t *testing.T) {
42
42
// _, _ = networkSelect.Update(tea.KeyMsg{Type: tea.KeyDown})
43
43
m , _ := networkSelect .Update (tea.KeyMsg {Type : tea .KeyEnter })
44
44
45
- assert .Equal (t , "Testnet" , mockState .network )
45
+ assert .Equal (t , "Testnet (initiation-2) " , mockState .network )
46
46
assert .Equal (t , "https://storage.googleapis.com/initia-binaries/genesis.json" , mockState .genesisEndpoint )
47
47
48
48
assert .IsType (t , m , & ExistingAppChecker {})
@@ -119,7 +119,7 @@ func TestExistingAppChecker(t *testing.T) {
119
119
120
120
existingAppChecker := NewExistingAppChecker (mockState )
121
121
m , _ := existingAppChecker .Update (utils.EndLoading {})
122
- assert .IsType (t , m , & MinGasPriceInput {})
122
+ assert .IsType (t , m , & RunL1NodeMonikerInput {})
123
123
124
124
mockState .existingApp = true
125
125
m , _ = existingAppChecker .Update (utils.EndLoading {})
@@ -787,13 +787,13 @@ func TestExistingDataReplaceSelect(t *testing.T) {
787
787
{
788
788
// Simulate selecting the second option (ReplaceData) with Snapshot and pressing enter
789
789
keyPresses : []tea.KeyMsg {tea.KeyMsg {Type : tea .KeyDown }, tea.KeyMsg {Type : tea .KeyEnter }},
790
- expectedModel : & ExistingDataReplaceSelect {}, // Should transition to SnapshotEndpointInput for Snapshot sync method
790
+ expectedModel : & TerminalState {}, // Should transition to SnapshotEndpointInput for Snapshot sync method
791
791
syncMethod : string (Snapshot ),
792
792
},
793
793
{
794
794
// Simulate selecting ReplaceData with StateSync and pressing enter
795
795
keyPresses : []tea.KeyMsg {tea.KeyMsg {Type : tea .KeyDown }, tea.KeyMsg {Type : tea .KeyEnter }},
796
- expectedModel : & ExistingDataReplaceSelect {}, // Should transition to StateSyncEndpointInput for StateSync sync method
796
+ expectedModel : & TerminalState {}, // Should transition to StateSyncEndpointInput for StateSync sync method
797
797
syncMethod : string (StateSync ),
798
798
},
799
799
}
0 commit comments