Skip to content

Commit

Permalink
Fix the unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cmodijk committed Dec 23, 2017
1 parent 8413056 commit e877f48
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/Functional/JMSSerializerMessageSerializerTest.php
Expand Up @@ -12,6 +12,14 @@ protected static function getKernelClass()
return 'SimpleBus\JMSSerializerBundleBridge\Tests\Functional\TestKernel';
}

protected function tearDown()
{
parent::tearDown();

static::$class = null;
static::$kernel = null;
}

/**
* @test
*/
Expand Down
5 changes: 5 additions & 0 deletions tests/Functional/TestKernel.php
Expand Up @@ -35,4 +35,9 @@ public function getLogDir()
{
return $this->tempDir . '/logs';
}

protected function getContainerClass()
{
return parent::getContainerClass() . sha1(__NAMESPACE__);
}
}

0 comments on commit e877f48

Please sign in to comment.