{"action":"created","issue":{"url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/issues/3366","labels_url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/issues/3366/labels{/name}","comments_url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/issues/3366/comments","events_url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/issues/3366/events","html_url":"https://github.com/easydigitaldownloads/Easy-Digital-Downloads/pull/3366","id":70929231,"number":3366,"title":"Script tests","user":{"login":"JeroenSormani","id":5774447,"avatar_url":"https://avatars.githubusercontent.com/u/5774447?v=3","gravatar_id":"","url":"https://api.github.com/users/JeroenSormani","html_url":"https://github.com/JeroenSormani","followers_url":"https://api.github.com/users/JeroenSormani/followers","following_url":"https://api.github.com/users/JeroenSormani/following{/other_user}","gists_url":"https://api.github.com/users/JeroenSormani/gists{/gist_id}","starred_url":"https://api.github.com/users/JeroenSormani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeroenSormani/subscriptions","organizations_url":"https://api.github.com/users/JeroenSormani/orgs","repos_url":"https://api.github.com/users/JeroenSormani/repos","events_url":"https://api.github.com/users/JeroenSormani/events{/privacy}","received_events_url":"https://api.github.com/users/JeroenSormani/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/labels/Enhancement","name":"Enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/labels/Unit%20Tests","name":"Unit Tests","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/milestones/101","html_url":"https://github.com/easydigitaldownloads/Easy-Digital-Downloads/milestones/2.3.9","labels_url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/milestones/101/labels","id":1086091,"number":101,"title":"2.3.9","description":null,"creator":{"login":"cklosowski","id":1390124,"avatar_url":"https://avatars.githubusercontent.com/u/1390124?v=3","gravatar_id":"","url":"https://api.github.com/users/cklosowski","html_url":"https://github.com/cklosowski","followers_url":"https://api.github.com/users/cklosowski/followers","following_url":"https://api.github.com/users/cklosowski/following{/other_user}","gists_url":"https://api.github.com/users/cklosowski/gists{/gist_id}","starred_url":"https://api.github.com/users/cklosowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cklosowski/subscriptions","organizations_url":"https://api.github.com/users/cklosowski/orgs","repos_url":"https://api.github.com/users/cklosowski/repos","events_url":"https://api.github.com/users/cklosowski/events{/privacy}","received_events_url":"https://api.github.com/users/cklosowski/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":3,"state":"open","created_at":"2015-04-27T19:46:10Z","updated_at":"2015-04-30T17:33:32Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-04-25T15:43:31Z","updated_at":"2015-05-04T01:10:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/pulls/3366","html_url":"https://github.com/easydigitaldownloads/Easy-Digital-Downloads/pull/3366","diff_url":"https://github.com/easydigitaldownloads/Easy-Digital-Downloads/pull/3366.diff","patch_url":"https://github.com/easydigitaldownloads/Easy-Digital-Downloads/pull/3366.patch"},"body":"Wow, I've been lacking in doing commits lately!\r\n\r\nGonna try picking it up again :smile: \r\n\r\nThis script has two `markTestIncomplete`, as it is generating some errors;\r\nThe error only occur when testing the full suite, not when only testing the tests-scripts.php file.\r\n\r\nMaybe you got an idea why its happening (happens on the lines with `$this->go_to( get_permalink(..) );`\r\n\r\n```\r\nThere were 2 errors:\r\n\r\n1) Tests_Scripts::test_load_scripts_checkout\r\nTrying to get property of non-object\r\n\r\n/private/tmp/wordpress/wp-includes/query.php:4349\r\n/private/tmp/wordpress/wp-includes/query.php:496\r\n/Applications/MAMP/htdocs/edd/wp-content/plugins/Easy-Digital-Downloads/includes/checkout/functions.php:78\r\n/Applications/MAMP/htdocs/edd/wp-content/plugins/Easy-Digital-Downloads/includes/plugin-compatibility.php:134\r\n/private/tmp/wordpress/wp-includes/plugin.php:571\r\n/private/tmp/wordpress/wp-includes/query.php:1817\r\n/private/tmp/wordpress/wp-includes/query.php:2364\r\n/private/tmp/wordpress/wp-includes/query.php:3836\r\n/private/tmp/wordpress/wp-includes/class-wp.php:540\r\n/private/tmp/wordpress/wp-includes/class-wp.php:611\r\n/private/tmp/wordpress-tests-lib/includes/testcase.php:359\r\n/Applications/MAMP/htdocs/edd/wp-content/plugins/Easy-Digital-Downloads/tests/tests-scripts.php:30\r\n\r\n2) Tests_Scripts::test_register_styles_checkout_ssl\r\nTrying to get property of non-object\r\n\r\n/private/tmp/wordpress/wp-includes/query.php:4349\r\n/private/tmp/wordpress/wp-includes/query.php:496\r\n/Applications/MAMP/htdocs/edd/wp-content/plugins/Easy-Digital-Downloads/includes/checkout/functions.php:78\r\n/Applications/MAMP/htdocs/edd/wp-content/plugins/Easy-Digital-Downloads/includes/plugin-compatibility.php:134\r\n/private/tmp/wordpress/wp-includes/plugin.php:571\r\n/private/tmp/wordpress/wp-includes/query.php:1817\r\n/private/tmp/wordpress/wp-includes/query.php:2364\r\n/private/tmp/wordpress/wp-includes/query.php:3836\r\n/private/tmp/wordpress/wp-includes/class-wp.php:540\r\n/private/tmp/wordpress/wp-includes/class-wp.php:611\r\n/private/tmp/wordpress-tests-lib/includes/testcase.php:359\r\n/Applications/MAMP/htdocs/edd/wp-content/plugins/Easy-Digital-Downloads/tests/tests-scripts.php:85\r\n```"},"comment":{"url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/issues/comments/98562888","html_url":"https://github.com/easydigitaldownloads/Easy-Digital-Downloads/pull/3366#issuecomment-98562888","issue_url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/issues/3366","id":98562888,"user":{"login":"pippinsplugins","id":1034109,"avatar_url":"https://avatars.githubusercontent.com/u/1034109?v=3","gravatar_id":"","url":"https://api.github.com/users/pippinsplugins","html_url":"https://github.com/pippinsplugins","followers_url":"https://api.github.com/users/pippinsplugins/followers","following_url":"https://api.github.com/users/pippinsplugins/following{/other_user}","gists_url":"https://api.github.com/users/pippinsplugins/gists{/gist_id}","starred_url":"https://api.github.com/users/pippinsplugins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pippinsplugins/subscriptions","organizations_url":"https://api.github.com/users/pippinsplugins/orgs","repos_url":"https://api.github.com/users/pippinsplugins/repos","events_url":"https://api.github.com/users/pippinsplugins/events{/privacy}","received_events_url":"https://api.github.com/users/pippinsplugins/received_events","type":"User","site_admin":false},"created_at":"2015-05-04T01:10:54Z","updated_at":"2015-05-04T01:10:54Z","body":"Have you tested the change with the 404 plugin? I'm not sure that will work . . . "}}