Browse Source

[Uploadable] Modified fixtures in tests so we cover more use cases.

comfortablynumb 12 years ago
parent
commit
f3013b4b49

+ 1 - 1
tests/Gedmo/Uploadable/Fixture/Entity/File.php

@@ -25,7 +25,7 @@ class File
     private $title;
 
     /**
-     * @ORM\Column(name="path", type="string", nullable=true)
+     * @ORM\Column(name="path", type="string")
      * @Gedmo\UploadableFilePath
      */
     private $filePath;

+ 1 - 1
tests/Gedmo/Uploadable/Fixture/Entity/FileAppendNumber.php

@@ -25,7 +25,7 @@ class FileAppendNumber
     private $title;
 
     /**
-     * @ORM\Column(name="path", type="string", nullable=true)
+     * @ORM\Column(name="path", type="string")
      * @Gedmo\UploadableFilePath
      */
     private $filePath;

+ 2 - 2
tests/Gedmo/Uploadable/Fixture/Entity/FileWithMaxSize.php

@@ -25,13 +25,13 @@ class FileWithMaxSize
     private $title;
 
     /**
-     * @ORM\Column(name="path", type="string", nullable=true)
+     * @ORM\Column(name="path", type="string")
      * @Gedmo\UploadableFilePath
      */
     private $filePath;
 
     /**
-     * @ORM\Column(name="size", type="decimal", nullable=true)
+     * @ORM\Column(name="size", type="decimal")
      * @Gedmo\UploadableFileSize
      */
     private $fileSize;