mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-20 06:53:39 +02:00
Fix stf generate-fake-device.
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user