Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Commit

Permalink
fix itemtype names
Browse files Browse the repository at this point in the history
  • Loading branch information
cconard96 committed Apr 13, 2024
1 parent 5fb525d commit b28a2c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/units/PluginJamfComputerSync.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public function testImport() {
$ext_attr_iterator = $DB->request([
'FROM' => PluginJamfItem_ExtensionAttribute::getTable(),
'WHERE' => [
'itemtype' => 'PluginJamfComputer',
'itemtype' => 'Computer',
'items_id' => $link['id']
]
]);
Expand Down
2 changes: 1 addition & 1 deletion tests/units/PluginJamfMobileSync.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public function testImportAsComputer() {
$ext_attr_iterator = $DB->request([
'FROM' => PluginJamfItem_ExtensionAttribute::getTable(),
'WHERE' => [
'itemtype' => PluginJamfMobileDevice::class,
'itemtype' => 'MobileDevice',
'items_id' => $link['id']
]
]);
Expand Down

0 comments on commit b28a2c2

Please sign in to comment.