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

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