Improve tests

This commit is contained in:
Daniil Gentili 2019-12-30 00:04:06 +00:00
parent e46e707702
commit a3150540d7
2 changed files with 3 additions and 2 deletions

View File

@ -418,7 +418,7 @@ trait Files
*/
private $offset = 0;
/**
* Callback
* Callback.
*
* @var ?callable
*/

View File

@ -114,6 +114,7 @@ export MTPROTO_SETTINGS='{"logger":{"logger_level":5}}'
php tools/makephar.php $HOME/phar5 "madeline$php$branch.phar" $TRAVIS_COMMIT
cp tests/testing.php tests/testingBackup.php
set +e
tests/testing.php <<EOF
m
$API_ID
@ -126,7 +127,7 @@ n
EOF
export TRAVIS_PHAR="madeline$php$branch.phar"
cat tests/testing.php
set -e
tests/testing.php
cp tests/testingBackup.php tests/testing.php