{"action":"closed","number":12,"pull_request":{"url":"https://api.github.com/repos/yiisoft/yii2-codeception/pulls/12","id":49100058,"html_url":"https://github.com/yiisoft/yii2-codeception/pull/12","diff_url":"https://github.com/yiisoft/yii2-codeception/pull/12.diff","patch_url":"https://github.com/yiisoft/yii2-codeception/pull/12.patch","issue_url":"https://api.github.com/repos/yiisoft/yii2-codeception/issues/12","number":12,"state":"closed","locked":false,"title":"#7 Fix cleanup rollback after unit tests","user":{"login":"kaiserfedor","id":7402851,"avatar_url":"https://avatars.githubusercontent.com/u/7402851?v=3","gravatar_id":"","url":"https://api.github.com/users/kaiserfedor","html_url":"https://github.com/kaiserfedor","followers_url":"https://api.github.com/users/kaiserfedor/followers","following_url":"https://api.github.com/users/kaiserfedor/following{/other_user}","gists_url":"https://api.github.com/users/kaiserfedor/gists{/gist_id}","starred_url":"https://api.github.com/users/kaiserfedor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaiserfedor/subscriptions","organizations_url":"https://api.github.com/users/kaiserfedor/orgs","repos_url":"https://api.github.com/users/kaiserfedor/repos","events_url":"https://api.github.com/users/kaiserfedor/events{/privacy}","received_events_url":"https://api.github.com/users/kaiserfedor/received_events","type":"User","site_admin":false},"body":"Method TestCase::mockApplication() checks existence of application in stance and won't create new instance if it already exists. It solved problem that transaction for rollback and test use the same db connection.","created_at":"2015-10-29T05:22:39Z","updated_at":"2015-10-29T09:02:25Z","closed_at":"2015-10-29T09:02:25Z","merged_at":"2015-10-29T09:02:25Z","merge_commit_sha":"1e448c80866101b9d7c98bc7a694de2ca48bf749","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yiisoft/yii2-codeception/pulls/12/commits","review_comments_url":"https://api.github.com/repos/yiisoft/yii2-codeception/pulls/12/comments","review_comment_url":"https://api.github.com/repos/yiisoft/yii2-codeception/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yiisoft/yii2-codeception/issues/12/comments","statuses_url":"https://api.github.com/repos/yiisoft/yii2-codeception/statuses/2b60cae02fa18d08a9ca31a63ed5ebf50210b531","head":{"label":"kaiserfedor:7-fix-clean-up-db-after-unit-tests","ref":"7-fix-clean-up-db-after-unit-tests","sha":"2b60cae02fa18d08a9ca31a63ed5ebf50210b531","user":{"login":"kaiserfedor","id":7402851,"avatar_url":"https://avatars.githubusercontent.com/u/7402851?v=3","gravatar_id":"","url":"https://api.github.com/users/kaiserfedor","html_url":"https://github.com/kaiserfedor","followers_url":"https://api.github.com/users/kaiserfedor/followers","following_url":"https://api.github.com/users/kaiserfedor/following{/other_user}","gists_url":"https://api.github.com/users/kaiserfedor/gists{/gist_id}","starred_url":"https://api.github.com/users/kaiserfedor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaiserfedor/subscriptions","organizations_url":"https://api.github.com/users/kaiserfedor/orgs","repos_url":"https://api.github.com/users/kaiserfedor/repos","events_url":"https://api.github.com/users/kaiserfedor/events{/privacy}","received_events_url":"https://api.github.com/users/kaiserfedor/received_events","type":"User","site_admin":false},"repo":{"id":45088123,"name":"yii2-codeception","full_name":"kaiserfedor/yii2-codeception","owner":{"login":"kaiserfedor","id":7402851,"avatar_url":"https://avatars.githubusercontent.com/u/7402851?v=3","gravatar_id":"","url":"https://api.github.com/users/kaiserfedor","html_url":"https://github.com/kaiserfedor","followers_url":"https://api.github.com/users/kaiserfedor/followers","following_url":"https://api.github.com/users/kaiserfedor/following{/other_user}","gists_url":"https://api.github.com/users/kaiserfedor/gists{/gist_id}","starred_url":"https://api.github.com/users/kaiserfedor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaiserfedor/subscriptions","organizations_url":"https://api.github.com/users/kaiserfedor/orgs","repos_url":"https://api.github.com/users/kaiserfedor/repos","events_url":"https://api.github.com/users/kaiserfedor/events{/privacy}","received_events_url":"https://api.github.com/users/kaiserfedor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kaiserfedor/yii2-codeception","description":"Yii 2 Codeception extension.","fork":true,"url":"https://api.github.com/repos/kaiserfedor/yii2-codeception","forks_url":"https://api.github.com/repos/kaiserfedor/yii2-codeception/forks","keys_url":"https://api.github.com/repos/kaiserfedor/yii2-codeception/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kaiserfedor/yii2-codeception/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kaiserfedor/yii2-codeception/teams","hooks_url":"https://api.github.com/repos/kaiserfedor/yii2-codeception/hooks","issue_events_url":"https://api.github.com/repos/kaiserfedor/yii2-codeception/issues/events{/number}","events_url":"https://api.github.com/repos/kaiserfedor/yii2-codeception/events","assignees_url":"https://api.github.com/repos/kaiserfedor/yii2-codeception/assignees{/user}","branches_url":"https://api.github.com/repos/kaiserfedor/yii2-codeception/branches{/branch}","tags_url":"https://api.github.com/repos/kaiserfedor/yii2-codeception/tags","blobs_url":"https://api.github.com/repos/kaiserfedor/yii2-codeception/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kaiserfedor/yii2-codeception/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kaiserfedor/yii2-codeception/git/refs{/sha}","trees_url":"https://api.github.com/repos/kaiserfedor/yii2-codeception/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kaiserfedor/yii2-codeception/statuses/{sha}","languages_url":"https://api.github.com/repos/kaiserfedor/yii2-codeception/languages","stargazers_url":"https://api.github.com/repos/kaiserfedor/yii2-codeception/stargazers","contributors_url":"https://api.github.com/repos/kaiserfedor/yii2-codeception/contributors","subscribers_url":"https://api.github.com/repos/kaiserfedor/yii2-codeception/subscribers","subscription_url":"https://api.github.com/repos/kaiserfedor/yii2-codeception/subscription","commits_url":"https://api.github.com/repos/kaiserfedor/yii2-codeception/commits{/sha}","git_commits_url":"https://api.github.com/repos/kaiserfedor/yii2-codeception/git/commits{/sha}","comments_url":"https://api.github.com/repos/kaiserfedor/yii2-codeception/comments{/number}","issue_comment_url":"https://api.github.com/repos/kaiserfedor/yii2-codeception/issues/comments{/number}","contents_url":"https://api.github.com/repos/kaiserfedor/yii2-codeception/contents/{+path}","compare_url":"https://api.github.com/repos/kaiserfedor/yii2-codeception/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kaiserfedor/yii2-codeception/merges","archive_url":"https://api.github.com/repos/kaiserfedor/yii2-codeception/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kaiserfedor/yii2-codeception/downloads","issues_url":"https://api.github.com/repos/kaiserfedor/yii2-codeception/issues{/number}","pulls_url":"https://api.github.com/repos/kaiserfedor/yii2-codeception/pulls{/number}","milestones_url":"https://api.github.com/repos/kaiserfedor/yii2-codeception/milestones{/number}","notifications_url":"https://api.github.com/repos/kaiserfedor/yii2-codeception/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kaiserfedor/yii2-codeception/labels{/name}","releases_url":"https://api.github.com/repos/kaiserfedor/yii2-codeception/releases{/id}","created_at":"2015-10-28T04:08:54Z","updated_at":"2015-10-28T04:08:56Z","pushed_at":"2015-10-29T05:12:07Z","git_url":"git://github.com/kaiserfedor/yii2-codeception.git","ssh_url":"git@github.com:kaiserfedor/yii2-codeception.git","clone_url":"https://github.com/kaiserfedor/yii2-codeception.git","svn_url":"https://github.com/kaiserfedor/yii2-codeception","homepage":"http://www.yiiframework.com","size":9948,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"yiisoft:master","ref":"master","sha":"d2c91b5a5dbde172f9adbbde10b0a523d1bfc388","user":{"login":"yiisoft","id":993323,"avatar_url":"https://avatars.githubusercontent.com/u/993323?v=3","gravatar_id":"","url":"https://api.github.com/users/yiisoft","html_url":"https://github.com/yiisoft","followers_url":"https://api.github.com/users/yiisoft/followers","following_url":"https://api.github.com/users/yiisoft/following{/other_user}","gists_url":"https://api.github.com/users/yiisoft/gists{/gist_id}","starred_url":"https://api.github.com/users/yiisoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiisoft/subscriptions","organizations_url":"https://api.github.com/users/yiisoft/orgs","repos_url":"https://api.github.com/users/yiisoft/repos","events_url":"https://api.github.com/users/yiisoft/events{/privacy}","received_events_url":"https://api.github.com/users/yiisoft/received_events","type":"Organization","site_admin":false},"repo":{"id":15273321,"name":"yii2-codeception","full_name":"yiisoft/yii2-codeception","owner":{"login":"yiisoft","id":993323,"avatar_url":"https://avatars.githubusercontent.com/u/993323?v=3","gravatar_id":"","url":"https://api.github.com/users/yiisoft","html_url":"https://github.com/yiisoft","followers_url":"https://api.github.com/users/yiisoft/followers","following_url":"https://api.github.com/users/yiisoft/following{/other_user}","gists_url":"https://api.github.com/users/yiisoft/gists{/gist_id}","starred_url":"https://api.github.com/users/yiisoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiisoft/subscriptions","organizations_url":"https://api.github.com/users/yiisoft/orgs","repos_url":"https://api.github.com/users/yiisoft/repos","events_url":"https://api.github.com/users/yiisoft/events{/privacy}","received_events_url":"https://api.github.com/users/yiisoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yiisoft/yii2-codeception","description":"Yii 2 Codeception extension.","fork":false,"url":"https://api.github.com/repos/yiisoft/yii2-codeception","forks_url":"https://api.github.com/repos/yiisoft/yii2-codeception/forks","keys_url":"https://api.github.com/repos/yiisoft/yii2-codeception/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yiisoft/yii2-codeception/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yiisoft/yii2-codeception/teams","hooks_url":"https://api.github.com/repos/yiisoft/yii2-codeception/hooks","issue_events_url":"https://api.github.com/repos/yiisoft/yii2-codeception/issues/events{/number}","events_url":"https://api.github.com/repos/yiisoft/yii2-codeception/events","assignees_url":"https://api.github.com/repos/yiisoft/yii2-codeception/assignees{/user}","branches_url":"https://api.github.com/repos/yiisoft/yii2-codeception/branches{/branch}","tags_url":"https://api.github.com/repos/yiisoft/yii2-codeception/tags","blobs_url":"https://api.github.com/repos/yiisoft/yii2-codeception/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yiisoft/yii2-codeception/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yiisoft/yii2-codeception/git/refs{/sha}","trees_url":"https://api.github.com/repos/yiisoft/yii2-codeception/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yiisoft/yii2-codeception/statuses/{sha}","languages_url":"https://api.github.com/repos/yiisoft/yii2-codeception/languages","stargazers_url":"https://api.github.com/repos/yiisoft/yii2-codeception/stargazers","contributors_url":"https://api.github.com/repos/yiisoft/yii2-codeception/contributors","subscribers_url":"https://api.github.com/repos/yiisoft/yii2-codeception/subscribers","subscription_url":"https://api.github.com/repos/yiisoft/yii2-codeception/subscription","commits_url":"https://api.github.com/repos/yiisoft/yii2-codeception/commits{/sha}","git_commits_url":"https://api.github.com/repos/yiisoft/yii2-codeception/git/commits{/sha}","comments_url":"https://api.github.com/repos/yiisoft/yii2-codeception/comments{/number}","issue_comment_url":"https://api.github.com/repos/yiisoft/yii2-codeception/issues/comments{/number}","contents_url":"https://api.github.com/repos/yiisoft/yii2-codeception/contents/{+path}","compare_url":"https://api.github.com/repos/yiisoft/yii2-codeception/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yiisoft/yii2-codeception/merges","archive_url":"https://api.github.com/repos/yiisoft/yii2-codeception/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yiisoft/yii2-codeception/downloads","issues_url":"https://api.github.com/repos/yiisoft/yii2-codeception/issues{/number}","pulls_url":"https://api.github.com/repos/yiisoft/yii2-codeception/pulls{/number}","milestones_url":"https://api.github.com/repos/yiisoft/yii2-codeception/milestones{/number}","notifications_url":"https://api.github.com/repos/yiisoft/yii2-codeception/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yiisoft/yii2-codeception/labels{/name}","releases_url":"https://api.github.com/repos/yiisoft/yii2-codeception/releases{/id}","created_at":"2013-12-18T04:00:57Z","updated_at":"2015-10-23T22:55:36Z","pushed_at":"2015-10-29T09:02:25Z","git_url":"git://github.com/yiisoft/yii2-codeception.git","ssh_url":"git@github.com:yiisoft/yii2-codeception.git","clone_url":"https://github.com/yiisoft/yii2-codeception.git","svn_url":"https://github.com/yiisoft/yii2-codeception","homepage":"http://www.yiiframework.com","size":10237,"stargazers_count":30,"watchers_count":30,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":5,"forks":17,"open_issues":5,"watchers":30,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yiisoft/yii2-codeception/pulls/12"},"html":{"href":"https://github.com/yiisoft/yii2-codeception/pull/12"},"issue":{"href":"https://api.github.com/repos/yiisoft/yii2-codeception/issues/12"},"comments":{"href":"https://api.github.com/repos/yiisoft/yii2-codeception/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/yiisoft/yii2-codeception/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/yiisoft/yii2-codeception/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yiisoft/yii2-codeception/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/yiisoft/yii2-codeception/statuses/2b60cae02fa18d08a9ca31a63ed5ebf50210b531"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"samdark","id":47294,"avatar_url":"https://avatars.githubusercontent.com/u/47294?v=3","gravatar_id":"","url":"https://api.github.com/users/samdark","html_url":"https://github.com/samdark","followers_url":"https://api.github.com/users/samdark/followers","following_url":"https://api.github.com/users/samdark/following{/other_user}","gists_url":"https://api.github.com/users/samdark/gists{/gist_id}","starred_url":"https://api.github.com/users/samdark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samdark/subscriptions","organizations_url":"https://api.github.com/users/samdark/orgs","repos_url":"https://api.github.com/users/samdark/repos","events_url":"https://api.github.com/users/samdark/events{/privacy}","received_events_url":"https://api.github.com/users/samdark/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":0,"changed_files":2}}