fiftyone.pipeline.cloudrequestengine 4.5.26 → 4.5.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fiftyone.pipeline.cloudrequestengine",
3
- "version": "4.5.26",
3
+ "version": "4.5.28",
4
4
  "description": "Cloud request engine for the 51Degrees Pipeline API",
5
5
  "keywords": [
6
6
  "51degrees",
@@ -66,7 +66,7 @@ test('missing property service - invalid resource key', done => {
66
66
  let errorFound = false;
67
67
  const error = flowData.errors.CloudEngineBase[0];
68
68
  errorFound = error.message.includes(testResourceKey) &&
69
- error.message.includes('is not a valid Resource Key');
69
+ error.message.includes('could not be read as a valid resource key');
70
70
  expect(errorFound).toBe(true);
71
71
 
72
72
  done();
@@ -87,7 +87,7 @@ test('HTTP data set in error', done => {
87
87
  const builder = new PipelineBuilder();
88
88
  const pipeline = builder.add(engine).build();
89
89
  const flowData = pipeline.createFlowData();
90
- const expectedError = '\'' + testResourceKey + '\' is not a valid Resource Key.';
90
+ const expectedError = '\'' + testResourceKey + '\' could not be read as a valid resource key.';
91
91
 
92
92
  // When an error occurs, check that the message is logged.
93
93
  pipeline.on('error', (e) => {