Hi, does anyone know Where are my posts gone? I can only see 5 posts on my profile although I have posted 13 times.
I came back after couple of days and I cannot see my posts in my profile .
Back
basically as the tests show:
$component->assertSeeInOrder([
'Pinned',
'pinned question',
'user question 2',
'2nd nested child question for user question 2',
'3rd nested child question for user question 2',
'pinned question',
'comment on pinned question',
'user question 4',
'1st child question for user question 4',
'2nd nested child question for user question 4',
'user question 3',
'1st child question for user question 3',
'user question 1',
'1st child question for user question 1',
]);
$component->assertDontSee($answerForAnotherUser);
$component->assertDontSee('comment on another user question');
$component->assertDontSee('1st child question for user question 2');
$component->assertDontSee('3rd nested child question for user question 4');
•
github.com/pinkary-project/pinkary.com/commit/a6d592c44c12b822b84b3c4df136d2a03f9b9e4d
basically as the tests show:
$component->assertSeeInOrder([
'Pinned',
'pinned question',
'user question 2',
'2nd nested child question for user question 2',
'3rd nested child question for user question 2',
'pinned question',
'comment on pinned question',
'user question 4',
'1st child question for user question 4',
'2nd nested child question for user question 4',
'user question 3',
'1st child question for user question 3',
'user question 1',
'1st child question for user question 1',
]);
$component->assertDontSee($answerForAnotherUser);
$component->assertDontSee('comment on another user question');
$component->assertDontSee('1st child question for user question 2');
$component->assertDontSee('3rd nested child question for user question 4');
•
In response to @moe_mizrak
@nunomaduro maybe even posts count can be modified in profile, it takes into account the answers to other users.
If you ask me profile should show both replies and the users' own posts, maybe there can be 2 separate sections in the profile.