@projectcaluma/ember-testing 11.0.0-beta.7 → 11.0.0-beta.8

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [@projectcaluma/ember-testing-v11.0.0-beta.8](https://github.com/projectcaluma/ember-caluma/compare/@projectcaluma/ember-testing-v11.0.0-beta.7...@projectcaluma/ember-testing-v11.0.0-beta.8) (2022-05-13)
2
+
3
+
4
+ ### Features
5
+
6
+ * **distribution:** add status for skipped inquiries ([1f93c92](https://github.com/projectcaluma/ember-caluma/commit/1f93c92d76b697954ec54aefa12348c84cd0abf9))
7
+
1
8
  # [@projectcaluma/ember-testing-v11.0.0-beta.7](https://github.com/projectcaluma/ember-caluma/compare/@projectcaluma/ember-testing-v11.0.0-beta.6...@projectcaluma/ember-testing-v11.0.0-beta.7) (2022-05-09)
2
9
 
3
10
 
@@ -102,6 +102,10 @@ export default class WorkItemMock extends BaseMock {
102
102
  addressedGroups: workItem.addressedGroups,
103
103
  });
104
104
  } else if (taskId === "complete-distribution") {
105
+ this.collection
106
+ .where({ caseId, status: "READY", taskId: "inquiry" })
107
+ .update({ status: "SKIPPED" });
108
+
105
109
  this.collection
106
110
  .where({ caseId, status: "READY" })
107
111
  .update({ status: "CANCELED" });
@@ -267,7 +267,7 @@ export default function (server, groups) {
267
267
  const distributionCase = createCase(server, { group: g });
268
268
 
269
269
  // controlling
270
- create({ from: g, to: g1 });
270
+ create({ from: g, to: g1 }, { id: "d570dfc3-0df7-4276-8735-892be011923c" });
271
271
  withdraw({
272
272
  inquiry: create(
273
273
  { from: g, to: g2 },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@projectcaluma/ember-testing",
3
- "version": "11.0.0-beta.7",
3
+ "version": "11.0.0-beta.8",
4
4
  "description": "Ember addon for testing with Caluma addons.",
5
5
  "keywords": [
6
6
  "ember-addon"
@@ -29,7 +29,7 @@
29
29
  "graphql-iso-date": "^3.6.1",
30
30
  "graphql-tools": "^4.0.8",
31
31
  "luxon": "^2.4.0",
32
- "miragejs": "^0.1.43"
32
+ "miragejs": "^0.1.44"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@ember/optional-features": "2.0.0",
@@ -55,7 +55,7 @@
55
55
  "loader.js": "4.7.0",
56
56
  "qunit": "2.19.1",
57
57
  "qunit-dom": "2.0.0",
58
- "webpack": "5.72.0"
58
+ "webpack": "5.72.1"
59
59
  },
60
60
  "engines": {
61
61
  "node": "12.* || 14.* || >= 16"