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

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
cconard96 committed Apr 13, 2024
1 parent 12cd8ad commit a7f7e0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
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::$jamfplugin_itemtype,
'jamf_type' => static::$jamf_itemtype,
'name' => $DB->escape($attr['name']),
'description' => $DB->escape($attr['description']),
'data_type' => $DB->escape($attr['data_type'])
Expand Down
1 change: 1 addition & 0 deletions tests/units/PluginJamfMobileSync.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ public function testImportAsComputer() {
$this->assertEquals(0, $link['activation_lock_enabled']);
$this->assertEquals(null, $link['lost_mode_enabled']);

var_dump(getAllDataFromTable(PluginJamfItem_ExtensionAttribute::getTable()));
$ext_attr_iterator = $DB->request([
'FROM' => PluginJamfItem_ExtensionAttribute::getTable(),
'WHERE' => [
Expand Down

0 comments on commit a7f7e0c

Please sign in to comment.