Skip to content

Commit

Permalink
Adjust paths and namespaces anfter Git history rewrite
Browse files Browse the repository at this point in the history
  • Loading branch information
pspanja committed Oct 20, 2015
1 parent 0d3a31d commit 75893f7
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 10 deletions.
2 changes: 0 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
"psr-4": {
"EzSystems\\EzPlatformXmlTextFieldTypeBundle\\": "bundle",
"EzSystems\\EzPlatformXmlTextFieldTypeBundle\\Tests\\": "tests/bundle",
"eZ\\Publish\\API\\Repository\\Tests\\FieldType\\": "tests/integration/API/Repository/Tests/FieldType",
"eZ\\Publish\\SPI\\Tests\\FieldType\\": "tests/integration/SPI/Tests/FieldType",
"eZ\\Publish\\Core\\FieldType\\XmlText\\": "lib/FieldType/XmlText",
"eZ\\Publish\\Core\\Persistence\\Legacy\\Content\\FieldValue\\Converter\\": "lib/Persistence/Legacy/Content/FieldValue/Converter",
"eZ\\Publish\\Core\\REST\\Common\\FieldTypeProcessor\\": "lib/REST/Common/FieldTypeProcessor",
Expand Down
2 changes: 1 addition & 1 deletion phpunit-integration-legacy-solr.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</php>
<testsuites>
<testsuite name="eZ\Publish\API\Repository">
<directory>./tests/integration/API</directory>
<file>./tests/lib/XmlTextAPIIntegrationTest.php</file>
</testsuite>
</testsuites>
<filter>
Expand Down
2 changes: 1 addition & 1 deletion phpunit-integration-legacy.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</php>
<testsuites>
<testsuite name="eZ\Publish\API\Repository">
<directory>./tests/integration/API</directory>
<file>./tests/lib/XmlTextAPIIntegrationTest.php</file>
</testsuite>
</testsuites>
<filter>
Expand Down
6 changes: 4 additions & 2 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@
<testsuite name="XmlText field type unit tests">
<directory suffix="Test.php">./tests/bundle/</directory>
<directory suffix="Test.php">./tests/lib/</directory>
<exclude>./tests/lib/XmlTextAPIIntegrationTest.php</exclude>
<exclude>./tests/lib/XmlTextSPIIntegrationTest.php</exclude>
</testsuite>
<testsuite name="eZ Publish SPI test suite">
<directory suffix="Test.php">./tests/integration/SPI</directory>
<testsuite name="XmlText field type eZ Platform Repository SPI integration test suite">
<file>./tests/lib/XmlTextSPIIntegrationTest.php</file>
</testsuite>
</testsuites>
<filter>
Expand Down
5 changes: 3 additions & 2 deletions tests/lib/XmlTextAPIIntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
*
* @version //autogentag//
*/
namespace eZ\Publish\API\Repository\Tests\FieldType;
namespace EzSystems\EzPlatformXmlTextFieldType\Tests;

use eZ\Publish\API\Repository\Tests\FieldType\RelationSearchBaseIntegrationTest;
use eZ\Publish\Core\FieldType\XmlText\Value as XmlTextValue;
use eZ\Publish\Core\FieldType\XmlText\Type as XmlTextType;
use eZ\Publish\API\Repository\Values\Content\Field;
Expand All @@ -23,7 +24,7 @@
* @group integration
* @group field-type
*/
class XmlTextIntegrationTest extends RelationSearchBaseIntegrationTest
class XmlTexAPItIntegrationTest extends RelationSearchBaseIntegrationTest
{
/**
* @var \DOMDocument
Expand Down
5 changes: 3 additions & 2 deletions tests/lib/XmlTextSPIIntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
*
* @version //autogentag//
*/
namespace eZ\Publish\SPI\Tests\FieldType;
namespace EzSystems\EzPlatformXmlTextFieldType\Tests;

use eZ\Publish\SPI\Tests\FieldType\BaseIntegrationTest;
use eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter\XmlTextConverter;
use eZ\Publish\Core\FieldType;
use eZ\Publish\Core\FieldType\FieldSettings;
Expand Down Expand Up @@ -38,7 +39,7 @@
*
* @group integration
*/
class XmlTextIntegrationTest extends BaseIntegrationTest
class XmlTextSPIIntegrationTest extends BaseIntegrationTest
{
/**
* Get name of tested field type.
Expand Down

0 comments on commit 75893f7

Please sign in to comment.