Skip to content

Commit 2d10c9c

Browse files
committed
test(workflow): align talk conversation title assertion
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent d2f810e commit 2d10c9c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/php/Unit/Workflow/CreateTalkConversationProfileFieldChangeOperationTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function testOnEventCreatesConversationWhenTalkBackendIsAvailable(): void
8686
$this->broker->expects($this->once())
8787
->method('createConversation')
8888
->with(
89-
'Profile field change: Department for alice',
89+
'Profile field changed: Department for user alice',
9090
$this->callback(function (array $moderators): bool {
9191
$this->assertCount(2, $moderators);
9292
return true;
@@ -95,6 +95,7 @@ public function testOnEventCreatesConversationWhenTalkBackendIsAvailable(): void
9595
);
9696

9797
$this->operation->onEvent(ProfileFieldValueUpdatedEvent::class, $event, $ruleMatcher);
98+
$this->addToAssertionCount(1);
9899
}
99100

100101
public function testOnEventSkipsWhenTalkBackendIsUnavailable(): void {

0 commit comments

Comments
 (0)