File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,8 +6,9 @@ RUN apk add --no-cache libpng libpng-dev && docker-php-ext-install gd && apk del
66
77RUN docker-php-ext-install pcntl
88
9- COPY --from=composer:1.6 /usr/bin/composer /usr/bin/composer
9+ COPY --from=composer:2.0 /usr/bin/composer /usr/bin/composer
1010
11- RUN /usr/bin/ composer global require hirak/prestissimo
11+ RUN composer --version
1212
1313COPY composer.json /opt
14+
Original file line number Diff line number Diff line change 2323 "DesignMyNight\\ Mongodb\\ " : " src"
2424 }
2525 },
26+ "autoload-dev" : {
27+ "psr-4" : {
28+ "Tests\\ " : " tests"
29+ }
30+ },
2631 "authors" : [
2732 {
2833 "name" : " DesignMyNight" ,
3641 " DesignMyNight\\ Mongodb\\ MongodbPassportServiceProvider"
3742 ]
3843 }
44+ },
45+ "require-dev" : {
46+ "phpunit/phpunit" : " ^7.5"
3947 }
4048}
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace Tests ;
4+
5+ class RunnerTest extends TestCase
6+ {
7+ public function testsPhpUnitRuns ()
8+ {
9+ $ this ->assertTrue (true );
10+ }
11+ }
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace Tests ;
4+
5+ use PHPUnit \Framework \TestCase as BaseTestCase ;
6+
7+ class TestCase extends BaseTestCase
8+ {
9+
10+ }
You can’t perform that action at this time.
0 commit comments