From 658b47aeb4a8302515e26016094bc72463ad3c61 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 15 Sep 2018 19:12:32 +0200 Subject: [PATCH] remove seaserpent test that is not a test. --- scripts/tests/e2/e2features.lua | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/scripts/tests/e2/e2features.lua b/scripts/tests/e2/e2features.lua index 54033d496..acd2f1e03 100644 --- a/scripts/tests/e2/e2features.lua +++ b/scripts/tests/e2/e2features.lua @@ -541,16 +541,3 @@ function test_buy_sell() assert_equal(4, u:get_item(item)) assert_not_equal(0, u:get_item('money')) end - -function test_seaserpent_attack() - local r = region.create(0, 0, 'ocean') - local sh = ship.create(r, 'boat') - local us = unit.create(get_monsters(), r, 1, 'seaserpent') - local u = unit.create(faction.create('human', 'enno@example.com'), r, 20, 'human') - u.ship = sh - us:clear_orders() - us:add_order('ATTACKIERE ' .. itoa36(u.id)) - us:set_skill('unarmed', 10) - process_orders() - write_reports() -end