Request.env_table method undefined in functional test

when i make a functional test for an action which access the server
variables with e.g.

@user.last_ip = request.env_table[‘REMOTE_ADDR’]

my functional test breaks… it says that the ‘env_table’ method is
undefined.
the application runs fine with it, only the testing environment does not
recognize this method …

any commentS?

nobody any clue?