Skip to content

Commit

Permalink
build fix - validation errors resulted in test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
bverbeken committed Oct 8, 2018
1 parent 65f8a5b commit 03e096e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions tests/Accounts/RetrieveMyAccountTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ public function test()
self::assertNotEmpty($account->publicKey);
self::assertNotEmpty($account->email);
self::assertTrue($account->settings->draftChartDrawingsEnabled);
self::assertEquals("WARNING", $account->settings->chartValidation->VALIDATE_DUPLICATE_LABELS);
self::assertEquals("WARNING", $account->settings->chartValidation->VALIDATE_OBJECTS_WITHOUT_CATEGORIES);
self::assertEquals("WARNING", $account->settings->chartValidation->VALIDATE_UNLABELED_OBJECTS);
self::assertEquals("ERROR", $account->settings->chartValidation->VALIDATE_DUPLICATE_LABELS);
self::assertEquals("ERROR", $account->settings->chartValidation->VALIDATE_OBJECTS_WITHOUT_CATEGORIES);
self::assertEquals("ERROR", $account->settings->chartValidation->VALIDATE_UNLABELED_OBJECTS);
}
}
24 changes: 12 additions & 12 deletions tests/sampleChartWithTables.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,54 +39,54 @@
"x": 35.74,
"y": 70.75,
"label": "1",
"categoryLabel": null,
"categoryLabel": "Cat1",
"categoryAccessible": null,
"categoryKey": null,
"categoryKey": 9,
"uuid": "uuid9"
},
{
"x": 9,
"y": 55.31,
"label": "2",
"categoryLabel": null,
"categoryLabel": "Cat1",
"categoryAccessible": null,
"categoryKey": null,
"categoryKey": 9,
"uuid": "uuid10"
},
{
"x": 9,
"y": 24.44,
"label": "3",
"categoryLabel": null,
"categoryLabel": "Cat1",
"categoryAccessible": null,
"categoryKey": null,
"categoryKey": 9,
"uuid": "uuid11"
},
{
"x": 35.74,
"y": 9,
"label": "4",
"categoryLabel": null,
"categoryLabel": "Cat1",
"categoryAccessible": null,
"categoryKey": null,
"categoryKey": 9,
"uuid": "uuid12"
},
{
"x": 62.47,
"y": 24.44,
"label": "5",
"categoryLabel": null,
"categoryLabel": "Cat1",
"categoryAccessible": null,
"categoryKey": null,
"categoryKey": 9,
"uuid": "uuid13"
},
{
"x": 62.47,
"y": 55.31,
"label": "6",
"categoryLabel": null,
"categoryLabel": "Cat1",
"categoryAccessible": null,
"categoryKey": null,
"categoryKey": 9,
"uuid": "uuid14"
}
],
Expand Down

0 comments on commit 03e096e

Please sign in to comment.