{"action":"created","issue":{"url":"https://api.github.com/repos/mbenkmann/limux-gosa-test/issues/46","labels_url":"https://api.github.com/repos/mbenkmann/limux-gosa-test/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/mbenkmann/limux-gosa-test/issues/46/comments","events_url":"https://api.github.com/repos/mbenkmann/limux-gosa-test/issues/46/events","html_url":"https://github.com/mbenkmann/limux-gosa-test/issues/46","id":65476756,"number":46,"title":"Missing tests","user":{"login":"mbenkmann","id":6864958,"avatar_url":"https://avatars.githubusercontent.com/u/6864958?v=3","gravatar_id":"","url":"https://api.github.com/users/mbenkmann","html_url":"https://github.com/mbenkmann","followers_url":"https://api.github.com/users/mbenkmann/followers","following_url":"https://api.github.com/users/mbenkmann/following{/other_user}","gists_url":"https://api.github.com/users/mbenkmann/gists{/gist_id}","starred_url":"https://api.github.com/users/mbenkmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbenkmann/subscriptions","organizations_url":"https://api.github.com/users/mbenkmann/orgs","repos_url":"https://api.github.com/users/mbenkmann/repos","events_url":"https://api.github.com/users/mbenkmann/events{/privacy}","received_events_url":"https://api.github.com/users/mbenkmann/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mbenkmann/limux-gosa-test/labels/imported","name":"imported","color":"FFFFFF"},{"url":"https://api.github.com/repos/mbenkmann/limux-gosa-test/labels/Milestone-2","name":"Milestone-2","color":"FFFFFF"},{"url":"https://api.github.com/repos/mbenkmann/limux-gosa-test/labels/Priority-Must","name":"Priority-Must","color":"FFFFFF"},{"url":"https://api.github.com/repos/mbenkmann/limux-gosa-test/labels/Type-Task","name":"Type-Task","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-31T15:21:21Z","updated_at":"2015-03-31T15:21:45Z","closed_at":null,"body":"_From [mux2...@gmail.com](https://code.google.com/u/114145867202573191452/) on February 15, 2013 18:11:45_\n\ndb.ClientWithAddress()\r\n\r\ndb.ClientUpdate() with case where 2 old entries are replaced (i.e. the new entry has the same \\<macaddress> as entry 1 and the same \\<client> as entry 2)\r\n\r\ndb.SystemGetState(mac,\"objectclass\") for an object with multiple objectclasses to check that as documented only the 1st object class is returned. I think this is not true ATM. Either change docs or change code to make consistent.\r\n\r\ndb.SystemDataForMAC()\r\n\r\ndb.SystemSetState() test case to verify that the new attribute can replace multiple existing attribute values (e.g. gotoNtpServer). To create this test case it will probably be necessary to add a new function db.SystemSetStateMulti() that takes an array of values, so that it can be used to set multiple values before the test.\r\n\r\ndb.SystemSetState() test case where the attribute to set does not yet exist. This will probably need the db.SystemSetStateMulti() function described in the previous paragraph so that the test can delete the attribute before the test.\r\n\r\nTest case for here_i_am with a client that is not in LDAP. Test that go-susi sends registered followed by detect_hardware\r\n\r\nTest case for here_i_am with a client that is in LDAP. Test that go-susi sends registered followed by new_ldap_config and new_ntp_config. This should happen even if the client object has neither attribute. The missing LDAP data should be replaced with go-susi's own data and the default NTP server should be pool.ntp.org.\n\n_Original issue: http://code.google.com/p/go-susi/issues/detail?id=46_"},"comment":{"url":"https://api.github.com/repos/mbenkmann/limux-gosa-test/issues/comments/88130141","html_url":"https://github.com/mbenkmann/limux-gosa-test/issues/46#issuecomment-88130141","issue_url":"https://api.github.com/repos/mbenkmann/limux-gosa-test/issues/46","id":88130141,"user":{"login":"mbenkmann","id":6864958,"avatar_url":"https://avatars.githubusercontent.com/u/6864958?v=3","gravatar_id":"","url":"https://api.github.com/users/mbenkmann","html_url":"https://github.com/mbenkmann","followers_url":"https://api.github.com/users/mbenkmann/followers","following_url":"https://api.github.com/users/mbenkmann/following{/other_user}","gists_url":"https://api.github.com/users/mbenkmann/gists{/gist_id}","starred_url":"https://api.github.com/users/mbenkmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbenkmann/subscriptions","organizations_url":"https://api.github.com/users/mbenkmann/orgs","repos_url":"https://api.github.com/users/mbenkmann/repos","events_url":"https://api.github.com/users/mbenkmann/events{/privacy}","received_events_url":"https://api.github.com/users/mbenkmann/received_events","type":"User","site_admin":false},"created_at":"2015-03-31T15:21:45Z","updated_at":"2015-03-31T15:21:45Z","body":"_From [mux2...@gmail.com](https://code.google.com/u/114145867202573191452/) on February 27, 2013 07:09:28_\n\nTests done. The last paragraph in the description is inaccurate. The current implementation does not replace missing data with go-susi's data.\n\n**Status:** Done  \n"}}