diff --git a/source/module_cell/test/unitcell_test_setupcell.cpp b/source/module_cell/test/unitcell_test_setupcell.cpp index bb33ff768be..db5eacbe1c3 100644 --- a/source/module_cell/test/unitcell_test_setupcell.cpp +++ b/source/module_cell/test/unitcell_test_setupcell.cpp @@ -61,6 +61,10 @@ class UcellTest : public ::testing::Test protected: std::unique_ptr ucell{new UnitCell}; std::string output; + void SetUp() + { + ucell->lmaxmax = 2; + } }; using UcellDeathTest = UcellTest; diff --git a/source/module_cell/test_pw/unitcell_test_pw.cpp b/source/module_cell/test_pw/unitcell_test_pw.cpp index e7a546c1ab7..81e4a116cb5 100644 --- a/source/module_cell/test_pw/unitcell_test_pw.cpp +++ b/source/module_cell/test_pw/unitcell_test_pw.cpp @@ -37,6 +37,10 @@ class UcellTest : public ::testing::Test protected: std::unique_ptr ucell{new UnitCell}; std::string output; + void SetUp() + { + ucell->lmaxmax = 2; + } }; TEST_F(UcellTest,ReadAtomSpecies)