Skip to content

feat(various): remove usage of deprecated match2 and match2game fields #6003

feat(various): remove usage of deprecated match2 and match2game fields

feat(various): remove usage of deprecated match2 and match2game fields #6003

GitHub Actions / Test Report failed Dec 23, 2024 in 0s

279 tests run, 278 passed, 0 skipped, 1 failed.

Annotations

Check failure on line 1 in lua:34

See this annotation in the file changed.

@github-actions github-actions / Test Report

lua:34.LPDB Object-Relational Mapping saving data saving

spec/orm_spec.lua:37: Function was never called with matching arguments.
Called with (last call if any):
Raw output
spec/orm_spec.lua:37: Function was never called with matching arguments.
Called with (last call if any):
(values list) ((string) 'Foo', (table: 0x55f53bda47d0) {
  [bestof] = 3
  [date] = 0
  [dateexact] = 0
  [extradata] = { }
  [finished] = 0
  [game] = 'r6s'
  [icon] = ''
  [icondark] = ''
  [links] = { }
  [liquipediatier] = ''
  [liquipediatiertype] = ''
  [match2bracketdata] = { }
  [match2bracketid] = 'Bar'
  [match2games] = { }
  [match2id] = 'Foo'
  [match2opponents] = { }
  [mode] = ''
  [parent] = ''
  [patch] = ''
  [publishertier] = ''
  [section] = ''
  [series] = ''
  [shortname] = ''
  [stream] = { }
  [tickername] = ''
  [tournament] = ''
  [type] = ''
  [vod] = ''
  [winner] = '' })
Expected:
(values list) ((string) 'Foo', (table: 0x55f53bcffdc0) {
  [bestof] = 3
  [date] = 0
  [dateexact] = 0
  [extradata] = { }
  [finished] = 0
  [game] = 'r6s'
  [icon] = ''
  [icondark] = ''
  [links] = { }
  [liquipediatier] = ''
  [liquipediatiertype] = ''
  [match2bracketdata] = { }
  [match2bracketid] = 'Bar'
  [match2games] = { }
  [match2id] = 'Foo'
  [match2opponents] = { }
  [mode] = ''
  [parent] = ''
  [patch] = ''
  [publishertier] = ''
  [resulttype] = ''
  [section] = ''
  [series] = ''
  [shortname] = ''
  [stream] = { }
  [tickername] = ''
  [tournament] = ''
  [type] = ''
  [vod] = ''
  [winner] = '' })
stack traceback:
	spec/orm_spec.lua:37: in function <spec/orm_spec.lua:34>