Fix pricelist sync upsert and refresh tests

This commit is contained in:
Mikhail Chusavitin
2026-04-28 16:53:38 +03:00
parent 11fd314a65
commit 61d23ef8c4
4 changed files with 178 additions and 61 deletions

View File

@@ -499,7 +499,7 @@ func TestToPricingCSV_UsesSelectedColumns(t *testing.T) {
if err != nil {
t.Fatalf("read summary row: %v", err)
}
expectedSummary := []string{"10", "", "", "Config A", "2", "2 400,50", "2 000,00", "1 800,25"}
expectedSummary := []string{"10", "", "ART-1", "Config A", "2", "2 400,50", "2 000,00", "1 800,25"}
for i, want := range expectedSummary {
if summary[i] != want {
t.Fatalf("summary[%d]: expected %q, got %q", i, want, summary[i])