Skip to content

SiteServiceImplTest: reduce test cases duplication by adding tests for logEvent() #346

Closed
@php-coder

Description

@php-coder

Currently all methods in SiteServiceImpl invokes logEvent() under the hood. We have similar test cases for them, but they are mostly testing logEvent(). I suggest make logEvent() visible for testing and add tests for it. Tests for logAbout*() method should only checks that the method invokes logEvent() and passes right arguments to it.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions