From 7ee47d4cbcde55a45187c6d124177176aef5a8b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E5=81=A5=E9=93=AD?= Date: Sat, 5 Dec 2026 19:53:20 -0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=89=E5=AE=A1=E8=AE=A1=E7=BC=96=E5=8F=B7?= =?UTF-8?q?=E6=A0=B8=E5=AF=B9=E6=A8=A1=E6=9D=BF=E5=86=99=E5=85=A5=E7=9A=84?= =?UTF-8?q?=E5=8E=9F=E6=9C=89=E6=97=B6=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 新账系统/test/order-templates.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/新账系统/test/order-templates.test.js b/新账系统/test/order-templates.test.js index 2cd8e5b..c73a286 100644 --- a/新账系统/test/order-templates.test.js +++ b/新账系统/test/order-templates.test.js @@ -298,7 +298,7 @@ test('保存、更新、删除、重复提交及套用模板不改变任何业 assert.deepEqual(ledger.orderTemplates().rows, []); assert.deepEqual(financialSnapshot(ledger), baseline); assert.deepEqual( - ledger.rows("SELECT action FROM audit WHERE entity LIKE 'order-template:%'").map(row => row.action), + ledger.rows("SELECT action FROM audit WHERE entity LIKE 'order-template:%' ORDER BY id").map(row => row.action), ['保存开单模板', '更新开单模板', '删除开单模板'], ); });