Release 2.8.1
This commit is contained in:
@@ -17,7 +17,7 @@ test('player registry upserts include the identifier field', async () => {
|
||||
if (String(sql || '').includes('information_schema.COLUMNS')) {
|
||||
return [[{ column_count: 1 }]];
|
||||
}
|
||||
if (String(sql || '').includes('INSERT INTO d_players')) {
|
||||
if (String(sql || '').includes('UPDATE d_players')) {
|
||||
return [{ affectedRows: 1 }];
|
||||
}
|
||||
if (String(sql || '').includes('SELECT id, identifier, public_base_url, internal_base_url, last_seen_at')) {
|
||||
@@ -63,5 +63,5 @@ test('player registry upserts include the identifier field', async () => {
|
||||
}));
|
||||
assert.deepEqual((calls.find(function (call) {
|
||||
return /INSERT INTO d_players/.test(String(call.sql || ''));
|
||||
}) || {}).params, ['Shop2', 'http://player.local', 'http://player:8081']);
|
||||
}) || {}).params, ['Shop2', 'http://player.local', 'http://player:8081', 'Shop2']);
|
||||
});
|
||||
Reference in New Issue
Block a user