File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -44,9 +44,20 @@ public function canGenerateThumbnail()
4444 public function canGeneratePdfVersion ()
4545 {
4646 Converter::file ($ this ->getTestFile ('Test.odt ' ))
47- ->save (' MyTest.pdf ' );
47+ ->save ($ this -> getTestFileDirectory () . ' / MyTest.pdf ' );
4848
49- $ this ->assertFileExists ($ this ->getTestFileDirectory () . '/Test.jpg ' );
49+ $ this ->assertFileExists ($ this ->getTestFileDirectory () . '/MyTest.pdf ' );
50+ }
51+
52+ /**
53+ * @test
54+ */
55+ public function canGenerateThumbnailOfFileWithoutExtension ()
56+ {
57+ Converter::file ($ this ->getTestFile ('Test ' ), 'odt ' )
58+ ->save ($ this ->getTestFileDirectory () . '/MyTest-2.pdf ' );
59+
60+ $ this ->assertFileExists ($ this ->getTestFileDirectory () . '/MyTest-2.pdf ' );
5061 }
5162
5263 /**
You can’t perform that action at this time.
0 commit comments