Skip to content
This repository has been archived by the owner on Oct 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #6 from TiMESPLiNTER/chore/update-dependencies
Browse files Browse the repository at this point in the history
chore/update-dependencies
  • Loading branch information
dominikzogg authored May 29, 2019
2 parents 85a6776 + 8892d52 commit 51e3d55
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 11 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
composer.lock
.phpunit.result.cache
/vendor

.idea
.idea
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
"alcaeus/mongo-php-adapter": "^1.1.5",
"doctrine/mongodb": "~1.1",
"pimple/pimple": ">=2.1,<4",
"psr/log": "1.0.*"
"psr/log": "^1.1.0"
},
"require-dev": {
"phpunit/phpunit": "~4.1"
"phpunit/phpunit": "^5.7.27|^8.1.5"
},
"provide": {
"ext-mongo": "1.6.14"
Expand Down
3 changes: 1 addition & 2 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
bootstrap="tests/bootstrap.php"
>
<testsuites>
Expand All @@ -20,4 +19,4 @@
<directory>./src</directory>
</whitelist>
</filter>
</phpunit>
</phpunit>
3 changes: 2 additions & 1 deletion tests/Saxulum/Tests/DoctrineMongoDb/Logger/LoggerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@

namespace Saxulum\Tests\DoctrineMongoDb\Loggger;

use PHPUnit\Framework\TestCase;
use Psr\Log\AbstractLogger;
use Saxulum\DoctrineMongoDb\Logger\Logger;

class LoggerTest extends \PHPUnit_Framework_TestCase
class LoggerTest extends TestCase
{
public function testLog()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@
namespace Saxulum\Tests\DoctrineMongoDb\Silex\Provider;

use Doctrine\MongoDB\Connection;
use PHPUnit\Framework\TestCase;
use Pimple\Container;
use Saxulum\DoctrineMongoDb\Provider\DoctrineMongoDbProvider;

class DoctrineMongoDbProviderTest extends \PHPUnit_Framework_TestCase
class DoctrineMongoDbProviderTest extends TestCase
{
public function testSingleConnection()
{
if (!extension_loaded('mongo')) {
$this->markTestSkipped('mongo is not available');
if (!extension_loaded('mongodb')) {
$this->markTestSkipped('mongodb is not available');
}

$app = new Container();
Expand Down Expand Up @@ -42,8 +43,8 @@ public function testSingleConnection()

public function testMultipleConnections()
{
if (!extension_loaded('mongo')) {
$this->markTestSkipped('mongo is not available');
if (!extension_loaded('mongodb')) {
$this->markTestSkipped('mongodb is not available');
}

$app = new Container();
Expand Down

0 comments on commit 51e3d55

Please sign in to comment.