mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 03:14:39 +01:00
Improve tests
This commit is contained in:
parent
e46e707702
commit
a3150540d7
@ -418,7 +418,7 @@ trait Files
|
||||
*/
|
||||
private $offset = 0;
|
||||
/**
|
||||
* Callback
|
||||
* Callback.
|
||||
*
|
||||
* @var ?callable
|
||||
*/
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user