 
 exports.changeLocation =
 	setUp: (done) ->
-		migrateTables 'permission_kind', 'uniusers',
-			'locations', 'monsters', 'battles',
-			'creature_kind', 'battle_participants'
+		clearTables 'uniusers', 'locations', 'monsters', 'battles', 'battle_participants'
 		insert 'uniusers', id: 1, location: 1, initiative: 50
 		insert 'locations', id: 1, ways: 'Left=2'
 		insert 'locations', id: 2


exports.getUserLocationId =
	testValidData: (test) ->
		migrateTables 'permission_kind', 'uniusers'
		insert 'uniusers', id: 1, 'location': 3

		insert 'uniusers', id: 2, 'location': 1


exports.getUserLocation =
	setUp: (done) ->
		clearTables 'uniusers', 'locations'
		insert 'uniusers', id: 1, location: 3, sessid: 'someid'
		done()
	
