Skip to content

Commit ef8251d

Browse files
authored
Fixing Firebase ML integration tests (#899)
1 parent 6fa5219 commit ef8251d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/machine-learning.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ describe('admin.machineLearning', () => {
150150
const modelOptions: admin.machineLearning.ModelOptions = {
151151
displayName: 'Invalid Name#*^!',
152152
};
153-
return createTemporaryModel({displayName: 'node-integration-invalid-argument'})
153+
return createTemporaryModel({displayName: 'node-integration-invalid-arg'})
154154
.then((model) => admin.machineLearning().updateModel(model.modelId, modelOptions)
155155
.should.eventually.be.rejected.and.have.property(
156156
'code', 'machine-learning/invalid-argument'));
@@ -273,7 +273,7 @@ describe('admin.machineLearning', () => {
273273

274274
it('unpublishes the model successfully', () => {
275275
const modelOptions: admin.machineLearning.ModelOptions = {
276-
displayName: 'node-integration-test-unpublish-1',
276+
displayName: 'node-integration-test-unpublish1',
277277
tfliteModel: {gcsTfliteUri: 'this will be replaced below'},
278278
};
279279
return uploadModelToGcs('model1.tflite', 'valid_model.tflite')

0 commit comments

Comments
 (0)