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

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
cconard96 committed Apr 13, 2024
1 parent b28a2c2 commit 12cd8ad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion inc/devicesync.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public static function syncExtensionAttributeDefinitions(): void
$attr = static::$api::getItemsClassic($api_itemtype, ['id' => $attribute['id']]);
$input = [
'jamf_id' => $attr['id'],
'jamf_type' => static::$jamf_itemtype,
'jamf_type' => static::$jamfplugin_itemtype,
'name' => $DB->escape($attr['name']),
'description' => $DB->escape($attr['description']),
'data_type' => $DB->escape($attr['data_type'])
Expand Down
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' => 'Computer',
'itemtype' => 'PluginJamfComputer',
'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' => 'MobileDevice',
'itemtype' => PluginJamfMobileDevice::class,
'items_id' => $link['id']
]
]);
Expand Down

0 comments on commit 12cd8ad

Please sign in to comment.