1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-05 10:39:25 +02:00

Fix stf generate-fake-device.

This commit is contained in:
Simo Kinnunen 2015-06-29 19:25:16 +09:00
parent f28ab04e75
commit 374781532f

View file

@ -12,7 +12,7 @@ module.exports.generate = function(wantedModel) {
, uuid.v4(null, new Buffer(16)).toString('base64')
)
return dbapi.saveDevice(serial, {
return dbapi.saveDeviceInitialState(serial, {
provider: {
name: 'FAKE/1'
, channel: '*fake'