Fixed Some Tests

This commit is contained in:
Mark Mackey
2022-12-27 15:59:34 -06:00
parent 96da8b9383
commit c922566fbc
3 changed files with 16 additions and 12 deletions

View File

@@ -212,9 +212,9 @@ impl ApiTester {
pub async fn test_get_lighthouse_spec(self) -> Self {
let result = self
.client
.get_lighthouse_spec::<ConfigAndPresetBellatrix>()
.get_lighthouse_spec::<ConfigAndPresetCapella>()
.await
.map(|res| ConfigAndPreset::Bellatrix(res.data))
.map(|res| ConfigAndPreset::Capella(res.data))
.unwrap();
let expected = ConfigAndPreset::from_chain_spec::<E>(&E::default_spec(), None);