diff --git a/test/files/scenario/shop-overflow.xml b/test/files/scenario/shop-overflow.xml deleted file mode 100644 index 3a0ef2bd..00000000 --- a/test/files/scenario/shop-overflow.xml +++ /dev/null @@ -1,84 +0,0 @@ - - - Test Scenario - 0 - campaign - 2.6.7 - en-US - - BoE Test Suite - nowhere@example.com - - - Teaser 1 - Teaser 2 - Welcome to the test scenario! - - - R - 3 - - - true - false - false - - - oboe - 2.0.0 - - - - 0 - 0 - 0 - 7 - - - - - The Shop of Everything - live - shop - 0 - - 0 - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 - 20 - 21 - 22 - 23 - 24 - 25 - 26 - 27 - 28 - 29 - 30 - - - - - 2 - - 0 - - diff --git a/test/scen_read.cpp b/test/scen_read.cpp index 8bbabf2a..3e4e3821 100644 --- a/test/scen_read.cpp +++ b/test/scen_read.cpp @@ -442,11 +442,6 @@ TEST_CASE("Loading a new-format scenario record") { CHECK(scen.shops[0].getItem(13).quantity == 0); CHECK(scen.shops[0].getItem(13).index == 89); } - SECTION("Too many items") { - fin.open("files/scenario/shop-overflow.xml"); - doc = xmlDocFromStream(fin, "shop-overflow.xml"); - REQUIRE_THROWS_AS(readScenarioFromXml(move(doc), scen), xBadNode); - } SECTION("Invalid attribute on regular item") { fin.open("files/scenario/shop-bad_item.xml"); doc = xmlDocFromStream(fin, "shop-bad_item.xml");