mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-22 21:02:24 +03:00
Fixed elements broken on module separation
This commit is contained in:
parent
ab9c2f728a
commit
fe8ef2030f
3 changed files with 9 additions and 6 deletions
|
@ -33,7 +33,7 @@ class EntityManagerFactory implements FactoryInterface
|
|||
$dbConfig = isset($globalConfig['database']) ? $globalConfig['database'] : [];
|
||||
|
||||
return EntityManager::create($dbConfig, Setup::createAnnotationMetadataConfiguration(
|
||||
['src/Entity'],
|
||||
['module/Core/src/Entity'],
|
||||
$isDevMode,
|
||||
'data/proxies',
|
||||
$cache,
|
||||
|
|
|
@ -65,7 +65,7 @@ class UrlShortenerTest extends TestCase
|
|||
|
||||
/**
|
||||
* @test
|
||||
* @expectedException \Acelaya\UrlShortener\Exception\RuntimeException
|
||||
* @expectedException \Shlinkio\Shlink\Core\Exception\RuntimeException
|
||||
*/
|
||||
public function exceptionIsThrownWhenOrmThrowsException()
|
||||
{
|
||||
|
@ -81,7 +81,7 @@ class UrlShortenerTest extends TestCase
|
|||
|
||||
/**
|
||||
* @test
|
||||
* @expectedException \Acelaya\UrlShortener\Exception\InvalidUrlException
|
||||
* @expectedException \Shlinkio\Shlink\Core\Exception\InvalidUrlException
|
||||
*/
|
||||
public function exceptionIsThrownWhenUrlDoesNotExist()
|
||||
{
|
||||
|
@ -126,7 +126,7 @@ class UrlShortenerTest extends TestCase
|
|||
|
||||
/**
|
||||
* @test
|
||||
* @expectedException \Acelaya\UrlShortener\Exception\InvalidShortCodeException
|
||||
* @expectedException \Shlinkio\Shlink\Core\Exception\InvalidShortCodeException
|
||||
*/
|
||||
public function invalidCharSetThrowsException()
|
||||
{
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
<phpunit bootstrap="./vendor/autoload.php" colors="true">
|
||||
<testsuites>
|
||||
<testsuite name="AcelayaTest">
|
||||
<directory>./tests</directory>
|
||||
<testsuite name="Common">
|
||||
<directory>./module/Common/test</directory>
|
||||
</testsuite>
|
||||
<testsuite name="Core">
|
||||
<directory>./module/Core/test</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
|
||||
|
|
Loading…
Reference in a new issue