From f6753261cd6f9749fd98dbc5d8d2ec4ff8f0b964 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Wed, 27 Dec 2017 22:30:07 +0100 Subject: [PATCH] do not use test_create_world, please. --- src/laws.test.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/laws.test.c b/src/laws.test.c index 04bda124d..8d207e0ec 100644 --- a/src/laws.test.c +++ b/src/laws.test.c @@ -169,12 +169,11 @@ static void test_enter_ship(CuTest * tc) race * rc; test_setup(); - test_create_world(); - r = findregion(0, 0); - rc = rc_get_or_create("human"); + r = test_create_region(0, 0, NULL); + rc = test_create_race("smurf"); u = test_create_unit(test_create_faction(rc), r); - sh = test_create_ship(r, st_get_or_create("boat")); + sh = test_create_ship(r, NULL); rc->flags = RCF_WALK; u->ship = 0;