常用方法
常用方法
常用方法
常用方法
/** * @test */ public function getAttachedFilesWithAttachedFileWithFileNameEndingWithADotReturnsFileTypeNone() { $this->createPi1(); $dummyFile = $this->testingFramework->createDummyFile('test.'); $dummyFileName = $this->testingFramework->getPathRelativeToUploadDirectory($dummyFile); $this->fixture->setAttachedFiles($dummyFileName); $attachedFiles = $this->fixture->getAttachedFiles($this->pi1); self::assertSame('none', $attachedFiles[0]['type']); }