Skip to content

Commit

Permalink
removed tests from gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
DonutsNL committed Nov 15, 2023
1 parent 2d87f33 commit 1b606ef
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
tests/
.vs/
4 changes: 4 additions & 0 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?php
use Symfony\Component\Dotenv\Dotenv;
require dirname(__DIR__).'/vendor/autoload.php';

19 changes: 19 additions & 0 deletions tests/ticketFilterTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php
namespace tests;

use PHPUnit\Framework\MockObject\Exception;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Messenger\Envelope;
use Symfony\Component\Messenger\MessageBusInterface;

class ticketFilterTest extends Testcase
{
public function testWithoutDelay()
{
$this->assertNull(null);
}
}
// This plugin uses extensive database functions
// therefor we need to modify the classes to allow for more
// testing. This function is just preparations to allow
// phpunit testing. Simply run ./vendor/bin/phpunit ./tests

0 comments on commit 1b606ef

Please sign in to comment.