Skip to content

Commit

Permalink
ci: fix dependence
Browse files Browse the repository at this point in the history
  • Loading branch information
medeirosinacio committed Jul 8, 2024
1 parent 7455e37 commit e630a07
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ Run the listener command to start monitoring MongoDB collection changes:
php bin/console dev:mongo-stream-listener
```

![](./assets/README-1720454397217.png)

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
Binary file added assets/README-1720454397217.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 0 additions & 6 deletions tests/MongoStreamListenerCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
use MongoDB\Model\BSONDocument;
use Psr\SimpleCache\CacheInterface;

use function PHPUnit\Framework\assertTrue;

beforeEach(function () {
$this->mongo = Mockery::mock(Client::class);
$this->mongoDatabase = Mockery::mock(Database::class);
Expand Down Expand Up @@ -73,9 +71,5 @@
->with('mongo_resume_token', $resumeToken)
->andReturn(true);

ob_start();
$this->listener->run();
$output = ob_get_clean();

assertTrue(str_contains($output, 'Inserted new document in default.records'));
});

0 comments on commit e630a07

Please sign in to comment.