{"action":"created","issue":{"url":"https://api.github.com/repos/Codeception/Codeception/issues/1875","labels_url":"https://api.github.com/repos/Codeception/Codeception/issues/1875/labels{/name}","comments_url":"https://api.github.com/repos/Codeception/Codeception/issues/1875/comments","events_url":"https://api.github.com/repos/Codeception/Codeception/issues/1875/events","html_url":"https://github.com/Codeception/Codeception/issues/1875","id":71338031,"number":1875,"title":"seeRecord not working","user":{"login":"rpg999","id":8338564,"avatar_url":"https://avatars.githubusercontent.com/u/8338564?v=3","gravatar_id":"","url":"https://api.github.com/users/rpg999","html_url":"https://github.com/rpg999","followers_url":"https://api.github.com/users/rpg999/followers","following_url":"https://api.github.com/users/rpg999/following{/other_user}","gists_url":"https://api.github.com/users/rpg999/gists{/gist_id}","starred_url":"https://api.github.com/users/rpg999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpg999/subscriptions","organizations_url":"https://api.github.com/users/rpg999/orgs","repos_url":"https://api.github.com/users/rpg999/repos","events_url":"https://api.github.com/users/rpg999/events{/privacy}","received_events_url":"https://api.github.com/users/rpg999/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Codeception/Codeception/labels/Laravel4","name":"Laravel4","color":"bdc3c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-04-27T16:35:45Z","updated_at":"2015-04-28T13:26:43Z","closed_at":null,"body":"I wrote a simple code for testing my crud module. When i try to check if the record has been added to the Database , its fail, even though after adding new record and redirecting to the list i called function see() and it works fine. Here is my code below:\r\n\r\n$test_title = 'RU2I2XyusNGK7ZAZ27hfMqISxku9F1gy';\r\n\r\n$I->click('Add');\r\n$I->fillField('Title', $test_title);\r\n$I->click('Save');\r\n\r\n// If i remove this part, the test will return green\r\n$I->seeRecord('tips', [\r\n    'title_tip' => $test_title \r\n]);\r\n\r\n$I->seeInCurrentUrl('/tips');\r\n$I->see($test_title);"},"comment":{"url":"https://api.github.com/repos/Codeception/Codeception/issues/comments/97064388","html_url":"https://github.com/Codeception/Codeception/issues/1875#issuecomment-97064388","issue_url":"https://api.github.com/repos/Codeception/Codeception/issues/1875","id":97064388,"user":{"login":"janhenkgerritsen","id":1123080,"avatar_url":"https://avatars.githubusercontent.com/u/1123080?v=3","gravatar_id":"","url":"https://api.github.com/users/janhenkgerritsen","html_url":"https://github.com/janhenkgerritsen","followers_url":"https://api.github.com/users/janhenkgerritsen/followers","following_url":"https://api.github.com/users/janhenkgerritsen/following{/other_user}","gists_url":"https://api.github.com/users/janhenkgerritsen/gists{/gist_id}","starred_url":"https://api.github.com/users/janhenkgerritsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janhenkgerritsen/subscriptions","organizations_url":"https://api.github.com/users/janhenkgerritsen/orgs","repos_url":"https://api.github.com/users/janhenkgerritsen/repos","events_url":"https://api.github.com/users/janhenkgerritsen/events{/privacy}","received_events_url":"https://api.github.com/users/janhenkgerritsen/received_events","type":"User","site_admin":false},"created_at":"2015-04-28T13:26:43Z","updated_at":"2015-04-28T13:26:43Z","body":"If you call `haveInDatabase` the test will add the record you specify to the database, so that's not the method you want to use.\r\n\r\nAs for the failing `seeRecord` call, are you sure you are using the correct database table name and attribute names?\r\n\r\nCould you maybe provide some code samples of code that should run for this test? For example the controller method, the view, etc?"}}