-
Notifications
You must be signed in to change notification settings - Fork 60
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
Fix/source repository tests #115
Conversation
public function getTableName(int $stockId): string | ||
{ | ||
- return 'reservations_temp_for_stock_' . $stockId; | ||
+ return $this->resourceConnection->getTableName('reservations_temp_for_stock_' . $stockId); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Handles table prefixes, affects integration tests in as all tables are prefixed there. Broken for 2.4.4 series.
* @dataProvider sourcesDataProvider | ||
* | ||
* @magentoDataFixture Magento_InventorySalesApi::Test/_files/websites_with_stores.php |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reorder so this is the first applied, and last to roll back
TODO - Squash merge this PR
Some improvements for the test running on this branch.
trv_
. I want to keep the versions under test as clear as possible, but this wont affect most use cases and will allow us to get the tests going through