Method | Description | |
---|---|---|
provideSendNotificationData ( ) | ||
setUp ( ) | ||
test_isEnabled ( ) | ||
test_sendNotificationIfUpdateAvailable ( $latestVersion, $lastSentVersion, $expects, $expectedLastSentVersion ) | ||
test_sendNotifications_shouldNotIncludeChangelogIfNotMajorVersionUpdate ( ) | ||
test_sendNotifications_shouldSentCorrectEmail ( ) |
Method | Description | |
---|---|---|
assertEmailForVersion ( $version, $expectedMessage ) | ||
getCommunicationMock ( array $methodsToOverwrite ) : Piwik\Plugins\CoreUpdater\UpdateCommunication | ||
getLastSentVersion ( ) | ||
preventVersionIsOverwrittenByActualVersionCheck ( ) | ||
setLastSentVersion ( $value ) | ||
setLatestVersion ( $value ) |
public test_sendNotificationIfUpdateAvailable ( $latestVersion, $lastSentVersion, $expects, $expectedLastSentVersion ) |