Skip to content

Commit

Permalink
removed unused test schema
Browse files Browse the repository at this point in the history
  • Loading branch information
mringler committed May 29, 2021
1 parent f63d3fe commit c4089b8
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 245 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ tests/Fixtures/schemas/build/
tests/Fixtures/bookstore/build/
tests/Fixtures/bookstore/propel.yaml

tests/Fixtures/bookstore-packaged/build/
tests/Fixtures/bookstore-packaged/propel.yaml

tests/Fixtures/namespaced/propel.yaml

tests/Fixtures/schemas/propel.yaml
Expand Down
1 change: 0 additions & 1 deletion src/Propel/Generator/Command/TestPrepareCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ class TestPrepareCommand extends AbstractCommand
protected $fixtures = [
//directory - array of connections
'bookstore' => ['bookstore', 'bookstore-cms', 'bookstore-behavior'],
'bookstore-packaged' => ['bookstore-packaged', 'bookstore-log'],
'namespaced' => ['bookstore_namespaced'],
'reverse/mysql' => ['reverse-bookstore'],
'reverse/pgsql' => ['reverse-bookstore'],
Expand Down
42 changes: 0 additions & 42 deletions tests/Fixtures/bookstore-packaged/book_club_list.schema.xml

This file was deleted.

31 changes: 0 additions & 31 deletions tests/Fixtures/bookstore-packaged/log.schema.xml

This file was deleted.

31 changes: 0 additions & 31 deletions tests/Fixtures/bookstore-packaged/media.schema.xml

This file was deleted.

69 changes: 0 additions & 69 deletions tests/Fixtures/bookstore-packaged/propel.yaml.dist

This file was deleted.

17 changes: 0 additions & 17 deletions tests/Fixtures/bookstore-packaged/publisher.schema.xml

This file was deleted.

42 changes: 0 additions & 42 deletions tests/Fixtures/bookstore-packaged/review.schema.xml

This file was deleted.

10 changes: 4 additions & 6 deletions tests/Propel/Tests/Generator/Manager/AbstractManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
use Propel\Generator\Manager\AbstractManager;
use Propel\Tests\TestCase;

/**
* @group database
*/

class AbstractManagerTest extends TestCase
{
private $manager;
Expand All @@ -37,8 +35,8 @@ public function testIncludeExternalSchemaWithRelativePathTo()
// include book.schema.xml, which includes external author schema
$schemaXml = <<< EOT
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<database package="core.book" name="bookstore" defaultIdMethod="native" namespace="Propel\Tests\BookstorePackaged">
<external-schema filename="../../../../Fixtures/bookstore-packaged/book.schema.xml" referenceOnly="true"/>
<database package="core.book" name="bookstore" defaultIdMethod="native" namespace="Propel\Tests\Bookstore">
<external-schema filename="../../Resources/external-schemas/book.schema.xml" referenceOnly="true"/>
</database>
EOT;
Expand Down Expand Up @@ -68,7 +66,7 @@ public function testIncludeExternalSchemaThrowsExceptionForMissingFiles()
// include book.schema.xml, which includes external author schema
$schemaXml = <<< EOT
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<database package="core.book" name="bookstore" defaultIdMethod="native" namespace="Propel\Tests\BookstorePackaged">
<database package="core.book" name="bookstore" defaultIdMethod="native" namespace="Propel\Tests\Bookstore">
<external-schema filename="../ThisFileNameDoesNotExistBababuiBababui/book.schema.xml" referenceOnly="true"/>
</database>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE database SYSTEM "../dtd/database.dtd">

<database package="core.book" name="bookstore" defaultIdMethod="native" namespace="Propel\Tests\BookstorePackaged">
<database package="core.book" name="bookstore" defaultIdMethod="native" namespace="Propel\Tests\Bookstore">
<external-schema filename="external/author.schema.xml"/>
<table name="book" description="Book Table">
<column name="id" required="true" primaryKey="true" autoIncrement="true" type="INTEGER" description="Book Id"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE database SYSTEM "../dtd/database.dtd">

<database package="core.author" name="bookstore" defaultIdMethod="native">

Expand Down

0 comments on commit c4089b8

Please sign in to comment.