mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-10-27 06:01:06 -04:00
fix(ci): expect inches units on migrated legacy nests
Server schema v12 (2d8d877) adds a units column, so migrated legacy
records now report units: "inches" and the Server image smoke's
legacy-vs-migrated manifest comparison failed (cmp differs at line 27)
on every master push since.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
857a560dce
commit
1592d4bfd9
1 file changed
+1
-1
@@ -36,7 +36,7 @@ def create(directory):
|
||||
'madeBy', 'fileSize', 'savedAt'), fields))
|
||||
# Columns added by later migrations read back as their defaults.
|
||||
metadata.update(status='toBeCut', revision=1, deleted=False, restoredFromRevision=None,
|
||||
materialGrade='')
|
||||
materialGrade='', units='inches')
|
||||
archive = {'sha256': hashlib.sha256(data).hexdigest(), 'bytes': len(data)}
|
||||
expected.append({'current': metadata, 'archive': archive,
|
||||
'revisions': [{'metadata': metadata, 'archive': archive}]})
|
||||
|
||||
Reference in new issue
Block a user