Skip to content

Commit

Permalink
Set DBF header for tests
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Čihař <michal@cihar.com>
  • Loading branch information
nijel committed Nov 16, 2016
1 parent bfe9005 commit b5cff4a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/ShapeFileTest.php
Expand Up @@ -251,6 +251,10 @@ public function testShapeSaveLoad($type, $points)
{
$filename = "./data/test_shape-$type.*";
$shp = new ShapeFile($type);
$shp->setDBFHeader(array(
array('ID', 'N', 19, 0),
array('DESC', 'C', 14, 0),
));

$record0 = new ShapeRecord($type);

Expand Down

0 comments on commit b5cff4a

Please sign in to comment.