test: the bulk-edit guard learns the integer My-station fields
my_dxcc/my_cq_zone/my_itu_zone go through BulkSetIntField, not the string column map — the guard flagged them as unwritable ever since they were added, which is the drift it exists to catch, one package over.
This commit is contained in:
@@ -33,6 +33,12 @@ func TestBulkEditFieldsAreWritable(t *testing.T) {
|
||||
id := m[1]
|
||||
// Handled before the column map: freq takes a numeric path (freq_hz +
|
||||
// band together) and the extras live in extras_json.
|
||||
// The integer My-station fields take their own numeric path
|
||||
// (BulkSetIntField + bulkEditableIntCols in the repo), added after this
|
||||
// guard was written — which is exactly the drift it exists to catch.
|
||||
if id == "my_dxcc" || id == "my_cq_zone" || id == "my_itu_zone" {
|
||||
continue
|
||||
}
|
||||
if id == "freq" || qso.IsBulkEditableExtra(id) {
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user