{"action":"opened","issue":{"url":"https://api.github.com/repos/sebastianbergmann/phpunit/issues/1789","labels_url":"https://api.github.com/repos/sebastianbergmann/phpunit/issues/1789/labels{/name}","comments_url":"https://api.github.com/repos/sebastianbergmann/phpunit/issues/1789/comments","events_url":"https://api.github.com/repos/sebastianbergmann/phpunit/issues/1789/events","html_url":"https://github.com/sebastianbergmann/phpunit/issues/1789","id":94820650,"number":1789,"title":"Minor issue on error message for assertSame","user":{"login":"mirekratman","id":555351,"avatar_url":"https://avatars.githubusercontent.com/u/555351?v=3","gravatar_id":"","url":"https://api.github.com/users/mirekratman","html_url":"https://github.com/mirekratman","followers_url":"https://api.github.com/users/mirekratman/followers","following_url":"https://api.github.com/users/mirekratman/following{/other_user}","gists_url":"https://api.github.com/users/mirekratman/gists{/gist_id}","starred_url":"https://api.github.com/users/mirekratman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirekratman/subscriptions","organizations_url":"https://api.github.com/users/mirekratman/orgs","repos_url":"https://api.github.com/users/mirekratman/repos","events_url":"https://api.github.com/users/mirekratman/events{/privacy}","received_events_url":"https://api.github.com/users/mirekratman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-13T21:51:22Z","updated_at":"2015-07-13T21:51:22Z","closed_at":null,"body":"When calling assertSame expecting as a result string \"ok\" as a example and method fails giving back \"not_defined\":\r\n```\r\n$this->assertSame($this->classApiClient->setItemRole('price1', 'name'), 'ok');\r\n```\r\n\r\nthe error text looks:\r\n\r\n```\r\nFailed asserting that two strings are identical.\r\nExpected :not_needed\r\nActual   :ok\r\n```\r\n\r\nI think there is small issue in error printing because expected value is 'ok' not 'not_needed'.\r\nError message should look:\r\n\r\n```\r\nFailed asserting that two strings are identical.\r\nExpected :ok\r\nActual   :not_needed\r\n```\r\n\r\n"}}