mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-10-23 03:37:01 +09:00
Verify staff basket price overrides (#4403)
* 🔒 Verify staff basket price overrides * 🐛 Fix update patcher test spelling * 🐛 Apply staff price overrides to promo discounts * Update ServiceTest.php * Fix percent promo invoice discount base * Base % invoice promos on order line totals * Clarify invoice promo discount comments
This commit is contained in:
1 parent
14e9c49cc2
commit
67756a43cd
9 files changed
+270
-36
No files matched your search
@@ -1384,7 +1384,7 @@ test('applyCorePatches removes retired hook data on non-MySQL drivers and remain
|
||||
});
|
||||
});
|
||||
|
||||
test('retired hook cleanup uses both parameterless portable delete statements', function (): void {
|
||||
test('retired hook cleanup uses both portable delete statements without parameters', function (): void {
|
||||
withNonMysqlDbDriver(function (): void {
|
||||
$listenerStatement = Mockery::mock(PDOStatement::class);
|
||||
$listenerStatement->expects('execute')->with([])->andReturnTrue();
|
||||
|
||||
Reference in new issue
Block a user