Skip to content
Snippets Groups Projects
Commit 9866124e authored by Rachel Sidney's avatar Rachel Sidney
Browse files

Update QuestionAnswerTest.php

parent d842f199
Branches
No related merge requests found
......@@ -119,10 +119,9 @@ class QuestionAnswerTest extends TestCase
->see('Question Added');
$dummy = Question::where('topic', 'Question for Testing')->first();
$written_on = 'Written on ' . $dummy->created_at->format('d M Y');
$response = $this->actingAs($user)
->visit('admin/questions')
->click($written_on)
->click('Question for Testing')
->see('Written on')
->see('Last Editted on')
->see('by');
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment