tempnam() like, not the two-words filenames of RandomImageGenerator::getRandomFilenames()
They aren't produced by ApiTestCaseUpload::fakeUploadFile() either.
$exception = false;
try {
list( $result, , ) = $this->doApiRequestWithToken( $params, $session,
$exception = false;
try {
list( $result, , ) = $this->doApiRequestWithToken( $params, $session,
- self::$users['uploader']->user );
+ self::$users['uploader']->user ); // FIXME: leaks a temporary file
} catch ( UsageException $e ) {
$exception = true;
}
} catch ( UsageException $e ) {
$exception = true;
}
$exception = false;
try {
list( $result, $request, $session ) = $this->doApiRequestWithToken( $params, $session,
$exception = false;
try {
list( $result, $request, $session ) = $this->doApiRequestWithToken( $params, $session,
- self::$users['uploader']->user );
+ self::$users['uploader']->user ); // FIXME: leaks a temporary file
} catch ( UsageException $e ) {
$exception = true;
}
} catch ( UsageException $e ) {
$exception = true;
}
$exception = false;
try {
list( $result, $request, $session ) = $this->doApiRequestWithToken( $params, $session,
$exception = false;
try {
list( $result, $request, $session ) = $this->doApiRequestWithToken( $params, $session,
- self::$users['uploader']->user );
+ self::$users['uploader']->user ); // FIXME: leaks a temporary file
} catch ( UsageException $e ) {
$exception = true;
}
} catch ( UsageException $e ) {
$exception = true;
}