{"action":"created","issue":{"url":"https://api.github.com/repos/archwisp/PHPEncryptData/issues/24","repository_url":"https://api.github.com/repos/archwisp/PHPEncryptData","labels_url":"https://api.github.com/repos/archwisp/PHPEncryptData/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/archwisp/PHPEncryptData/issues/24/comments","events_url":"https://api.github.com/repos/archwisp/PHPEncryptData/issues/24/events","html_url":"https://github.com/archwisp/PHPEncryptData/issues/24","id":221451221,"number":24,"title":"Cant pass PHPUNIT assertSame","user":{"login":"ianrussel","id":4607692,"avatar_url":"https://avatars2.githubusercontent.com/u/4607692?v=3","gravatar_id":"","url":"https://api.github.com/users/ianrussel","html_url":"https://github.com/ianrussel","followers_url":"https://api.github.com/users/ianrussel/followers","following_url":"https://api.github.com/users/ianrussel/following{/other_user}","gists_url":"https://api.github.com/users/ianrussel/gists{/gist_id}","starred_url":"https://api.github.com/users/ianrussel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianrussel/subscriptions","organizations_url":"https://api.github.com/users/ianrussel/orgs","repos_url":"https://api.github.com/users/ianrussel/repos","events_url":"https://api.github.com/users/ianrussel/events{/privacy}","received_events_url":"https://api.github.com/users/ianrussel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-04-13T03:50:01Z","updated_at":"2017-04-19T02:21:41Z","closed_at":"2017-04-18T19:27:06Z","body":"Hi, any help how would you test or make pass a test like this? It seems that everytime I run phpunit, encrypted data changes\r\n\r\n\r\n      ` /**\r\n    * @test\r\n    */\r\n       public function check_if_user_email_is_decrypted()\r\n      {\r\n   \t\t$userEmail = $this->encryptor->encrypt('ako@yahoo.com');\r\n   \t\t//var_dump($userEmail);//\"MHxnZjI5dkQ5WUV4L2Y3azd4V3c2YzJ4TkxUR1Rjb0x6ckR1RjVFbWdHSktNSmRqWDVJQT09fEdxKzdCUTEvZVB2Q2ZNVGdMNjJ0RFE9PQ==\"\r\n   \t\t$this->assertSame(\"MHxnZjI5dkQ5WUV4L2Y3azd4V3c2YzJ4TkxUR1Rjb0x6ckR1RjVFbWdHSktNSmRqWDVJQT09fEdxKzdCUTEvZVB2Q2ZNVGdMNjJ0RFE9PQ==\",$userEmail);\r\n      }`"},"comment":{"url":"https://api.github.com/repos/archwisp/PHPEncryptData/issues/comments/295043543","html_url":"https://github.com/archwisp/PHPEncryptData/issues/24#issuecomment-295043543","issue_url":"https://api.github.com/repos/archwisp/PHPEncryptData/issues/24","id":295043543,"user":{"login":"ianrussel","id":4607692,"avatar_url":"https://avatars2.githubusercontent.com/u/4607692?v=3","gravatar_id":"","url":"https://api.github.com/users/ianrussel","html_url":"https://github.com/ianrussel","followers_url":"https://api.github.com/users/ianrussel/followers","following_url":"https://api.github.com/users/ianrussel/following{/other_user}","gists_url":"https://api.github.com/users/ianrussel/gists{/gist_id}","starred_url":"https://api.github.com/users/ianrussel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianrussel/subscriptions","organizations_url":"https://api.github.com/users/ianrussel/orgs","repos_url":"https://api.github.com/users/ianrussel/repos","events_url":"https://api.github.com/users/ianrussel/events{/privacy}","received_events_url":"https://api.github.com/users/ianrussel/received_events","type":"User","site_admin":false},"created_at":"2017-04-19T02:21:41Z","updated_at":"2017-04-19T02:21:41Z","body":"Thank you very much @archwisp"}}
{"actor":{"display_login":"ianrussel"}}