Skip to content

Commit 59efe33

Browse files
committed
Fix test
1 parent c7f03ec commit 59efe33

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,12 @@ matrix:
1414
- php: hhvm
1515

1616
before_script:
17+
- phpenv rehash > /dev/null
1718
## Composer
18-
- curl -s http://getcomposer.org/installer | php
19-
- php composer.phar install --prefer-source
2019
- composer selfupdate --quiet
20+
- composer install --prefer-source
2121
## PHP_CodeSniffer
2222
- pyrus install pear/PHP_CodeSniffer
23-
- phpenv rehash
2423
## PHP Copy/Paste Detector
2524
#- curl -o phpcpd.phar https://phar.phpunit.de/phpcpd.phar
2625
## PHP Mess Detector

tests/PhpWord/Writer/ODTextTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public function testSetUseDiskCachingException()
144144
array(\PHPWORD_TESTS_BASE_DIR, 'foo')
145145
);
146146

147-
$object = new ODText($phpWord);
147+
$object = new ODText();
148148
$object->setUseDiskCaching(true, $dir);
149149
}
150150
}

0 commit comments

Comments
 (0)