Skip to content

Commit

Permalink
fix tests on php7
Browse files Browse the repository at this point in the history
  • Loading branch information
cweiske committed Jul 16, 2015
1 parent 00fb925 commit a3596f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/permissions.phpt
Expand Up @@ -4,7 +4,7 @@ test preserving of permissions
--FILE--
<?php
require_once dirname(__FILE__) . '/setup.php.inc';
$tar = &new Archive_Tar(dirname(__FILE__) . '/testperms.tar');
$tar = new Archive_Tar(dirname(__FILE__) . '/testperms.tar');
$tar->extract('', true);
$phpunit->assertNoErrors('after');
echo 'tests done';
Expand Down
2 changes: 1 addition & 1 deletion tests/symlink.phpt
Expand Up @@ -5,7 +5,7 @@ test symbolic links
<?php
require_once dirname(__FILE__) . '/setup.php.inc';
$me = dirname(__FILE__) . '/testit';
$tar = &new Archive_Tar(dirname(__FILE__) . '/testsymlink.tar');
$tar = new Archive_Tar(dirname(__FILE__) . '/testsymlink.tar');
$tar->extract();
$phpunit->assertNoErrors('after');
$phpunit->assertFileExists('testme', 'dir');
Expand Down

0 comments on commit a3596f3

Please sign in to comment.