zendframework / zend-db

Db component from Zend Framework
BSD 3-Clause "New" or "Revised" License
101 stars 122 forks source link

Enable use of MetadataFeature with TableIdentifier #392

Closed jbelien closed 4 years ago

jbelien commented 5 years ago

Fix #391

Provide a narrative description of what you are trying to accomplish:

jbelien commented 5 years ago

@webimpress Sure, I probably can do that but never tried to add a test on a ZendFramework project.

Do I "just" have to add a new test that uses MetadataFeature with TableIdentifier in https://github.com/zendframework/zend-db/blob/master/test/unit/TableGateway/Feature/MetadataFeatureTest.php ?

michalbundyra commented 5 years ago

@jbelien Cool! If you have any questions you can catch me on ZF slack

jbelien commented 5 years ago

@webimpress I apparently can't join the ZF Slack. When I try to login, it says that "I need to ask the workspace admin to invite me." (edit: fixed, invite via https://zendframework-slack.herokuapp.com/).

You didn't reply my question:

Do I "just" have to add a new test that uses MetadataFeature with TableIdentifier in TableGateway/Feature/MetadataFeatureTest.php ?

Thanks!

michalbundyra commented 5 years ago

@jbelien sorry, to join the slack you have to follow this link: https://zendframework-slack.herokuapp.com

Do I "just" have to add a new test that uses MetadataFeature with TableIdentifier in https://github.com/zendframework/zend-db/blob/master/test/unit/TableGateway/Feature/MetadataFeatureTest.php ?

Yes, that's correct, as you are modifying MetadataFeature.php tests should be added in the corresponding test class.

jbelien commented 5 years ago

Thank you so much @webimpress for your help! ❤️

michalbundyra commented 4 years ago

Thanks, @jbelien!