diff --git a/unittest/commands/test_kim_commands.cpp b/unittest/commands/test_kim_commands.cpp index 33d96332e4..7de69d7fe1 100644 --- a/unittest/commands/test_kim_commands.cpp +++ b/unittest/commands/test_kim_commands.cpp @@ -100,9 +100,10 @@ TEST_F(KimCommandsTest, kim_init) TEST_FAILURE(".*ERROR: Incompatible units for KIM Simulator Model, required units = metal.*", lmp->input->one("kim_init Sim_LAMMPS_LJcut_AkersonElliott_Alchemy_PbAu real");); TEST_FAILURE(".*ERROR: KIM Model does not support the requested unit system.*", - lmp->input->one("kim_init ex_model_Ar_P_Morse real");); + lmp->input->one("kim_init ex_model_Ar_P_MLJ_Fortran real");); if (!verbose) ::testing::internal::CaptureStdout(); + lmp->input->one("clear"); lmp->input->one("kim_init LennardJones_Ar real"); if (!verbose) ::testing::internal::GetCapturedStdout();