From 9abac59f4b5d199f66e1ddfb4c01d047fcd48780 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Mon, 9 Jul 2012 04:10:36 +0200 Subject: [PATCH] fix soem tests that were intermittent use latest eressea module --- eressea | 2 +- scripts/tests/e3a.lua | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/eressea b/eressea index f4761867c..366f0feea 160000 --- a/eressea +++ b/eressea @@ -1 +1 @@ -Subproject commit f4761867cd8c301d28a6fa8611417f666a730938 +Subproject commit 366f0feeaa27d48dde66d85854902120f6296326 diff --git a/scripts/tests/e3a.lua b/scripts/tests/e3a.lua index cc4608f68..559bcea75 100644 --- a/scripts/tests/e3a.lua +++ b/scripts/tests/e3a.lua @@ -123,13 +123,14 @@ function test_fishing() update_owners() process_orders() - assert_equal(r2.id, u1.region.id) + assert_equal(r2, u1.region) assert_equal(90, u1:get_item("money")) u1:clear_orders() u1:add_order("NACH W") process_orders() + assert_equal(r, u1.region) assert_equal(60, u1:get_item("money")) end