Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allows schema fixtures to be reflected directly from the datasource #8175

Merged
merged 2 commits into from Feb 4, 2016

Conversation

HavokInspiration
Copy link
Member

When the properties TestFixture::$import or TestFixture::$fields are not defined, and if the table the fixture represents exists in the test datasource (or the specified one), the fixtures schema should be reflected using the datasource.

Since the table exists and the dev is doing this in purpose, we should not make any asumption and the drop() and create() methods should do nothing but returns that the table was correctly dropped / created.

Refs #8165

…rt property set

The schema is generated directly from the datasource
Since the user is using an existing table, we should not make any asumption and consider that the table should not be created nor dropped by the TestSuite
@HavokInspiration HavokInspiration added this to the 3.2.2 milestone Feb 3, 2016
markstory added a commit that referenced this pull request Feb 4, 2016
Allows schema fixtures to be reflected directly from the datasource.
@markstory markstory merged commit 2d54b2a into master Feb 4, 2016
@markstory
Copy link
Member

Nice work @HavokInspiration

@markstory markstory deleted the issue-8165 branch February 4, 2016 03:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants