File tree Expand file tree Collapse file tree 6 files changed +28
-54
lines changed Expand file tree Collapse file tree 6 files changed +28
-54
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ language: php
33php :
44 - " 7.2"
55 - " 7.3"
6- - nightly
6+ - 7.4snapshot
77
88cache :
99 directories :
1818
1919matrix :
2020 allow_failures :
21- - php : nightly
21+ - php : 7.4snapshot
2222 - env : LARAVEL_VERSION="dev-master" ORCHESTRA_VERSION="dev-master" COMPOSER_FLAGS="--prefer-lowest" MINIMUM_STABILITY="dev"
2323 - env : LARAVEL_VERSION="dev-master" ORCHESTRA_VERSION="dev-master" COMPOSER_FLAGS="--prefer-stable" MINIMUM_STABILITY="dev"
2424 fast_finish : true
2525
2626before_install :
27+ - composer validate --strict
2728 - travis_retry composer self-update
2829 - if [[ -n ${MINIMUM_STABILITY} ]]; then composer config minimum-stability ${MINIMUM_STABILITY}; echo "Minimum stability set to ${MINIMUM_STABILITY}"; else echo "Minimum stability left unchanged"; fi
2930 - if [[ -n ${ORCHESTRA_VERSION} ]]; then composer require orchestra/testbench=${ORCHESTRA_VERSION} --dev --no-update; else echo "orchestra/testbench version requirement left unchanged"; fi
Original file line number Diff line number Diff line change @@ -6,6 +6,12 @@ Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) princip
66
77## Unreleased
88
9+ ## 2.0.2 (2019-03-08)
10+
11+ ### Changed
12+
13+ - Replaced custom array subset with package
14+
915## 2.0.1 (2019-02-27)
1016
1117### Fixed
Original file line number Diff line number Diff line change 2424 }
2525 ],
2626 "require" : {
27+ "php" : " ^7.2" ,
28+ "dms/phpunit-arraysubset-asserts" : " ^0.1.0" ,
2729 "laravel/framework" : " ~5.8.0" ,
28- "nesbot/carbon" : " ^1.22.1|^2.0" ,
29- "php" : " ^7.2"
30+ "nesbot/carbon" : " ^1.22.1|^2.0"
3031 },
3132 "require-dev" : {
3233 "kint-php/kint" : " ^3.1" ,
3334 "mockery/mockery" : " ^1.2" ,
34- "orchestra/testbench" : " ^ 3.8" ,
35+ "orchestra/testbench" : " ~ 3.8.0 " ,
3536 "phpunit/phpunit" : " ^8.0"
3637 },
3738 "autoload" : {
5657 },
5758 "scripts" : {
5859 "test" : " vendor/bin/phpunit" ,
59- "test-lowest" : " composer update --prefer-lowest --prefer-dist --no-interaction && vendor/bin/phpunit" ,
60- "test-stable" : " composer update --prefer-stable --prefer-dist --no-interaction &&vendor/bin/phpunit"
60+ "test-lowest" : [
61+ " composer update --prefer-lowest --prefer-dist --no-interaction --ansi" ,
62+ " @test"
63+ ],
64+ "test-stable" : [
65+ " composer update --prefer-stable --prefer-dist --no-interaction --ansi" ,
66+ " @test"
67+ ]
6168 }
6269}
Original file line number Diff line number Diff line change 1313 stopOnFailure =" false"
1414 failOnRisky =" true"
1515 failOnWarning =" true"
16- stopOnError =" false" >
16+ stopOnError =" false"
17+ cacheResult =" false"
18+ >
1719 <testsuites >
1820 <testsuite name =" Feature Tests" >
1921 <directory suffix =" Test.php" >./tests/Feature</directory >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 55namespace SebastiaanLuca \BooleanDates \Tests \Feature ;
66
77use Carbon \Carbon ;
8- use SebastiaanLuca \ BooleanDates \ Tests \ Assert ;
8+ use DMS \ PHPUnitExtensions \ ArraySubset \ ArraySubsetAsserts ;
99use SebastiaanLuca \BooleanDates \Tests \resources \TestModel ;
1010use SebastiaanLuca \BooleanDates \Tests \TestCase ;
1111
1212class BooleanArrayTest extends TestCase
1313{
14+ use ArraySubsetAsserts;
15+
1416 /**
1517 * @test
1618 */
@@ -59,7 +61,7 @@ public function it returns all attributes() : void
5961 'agreed_to_something_at ' => null ,
6062 ];
6163
62- Assert ::assertArraySubset (
64+ ArraySubsetAsserts ::assertArraySubset (
6365 $ expected ,
6466 $ model ->toArray ()
6567 );
You can’t perform that action at this time.
0 commit comments