2 When PHPT_Section_ENV::run() is called, the data['SCRIPT_FILENAME']
3 value should always equal the provided Case's filename property.
7 require_once dirname(__FILE__) . '/../../_setup.inc';
8 require_once dirname(__FILE__) . '/_simple-test-case.inc';
10 $case = new PHPT_SimpleTestCase();
11 $filename = 'some-random-file-' . rand(100, 200);
12 $case->filename = $filename;
13 $env = new PHPT_Section_ENV('foo=bar');
16 assert('$env->data["SCRIPT_FILENAME"] == $filename');