Skip to content

Commit

Permalink
2.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bencroker committed Mar 25, 2024
1 parent 7a8cdf5 commit 30d15b5
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Release Notes for Campaign

## 2.13.0 - Unreleased
## 2.13.0 - 2024-03-25

### Added

Expand Down
3 changes: 0 additions & 3 deletions src/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,6 @@
// The batch size to use for sendout jobs
//'sendoutJobBatchSize' => 100,

// The batch size to use for sendout jobs
//'sendoutJobBatchSize' => 100,

// The amount of time in seconds to delay between sendout job batches
//'sendoutJobBatchDelay' => 0,

Expand Down
1 change: 1 addition & 0 deletions src/elements/MailingListElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ protected static function defineDefaultTableAttributes(string $source): array

/**
* @var null|FieldLayout Field layout
* @see self::getFieldLayout()
*/
private ?FieldLayout $fieldLayout = null;

Expand Down
7 changes: 7 additions & 0 deletions src/elements/SendoutElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -458,36 +458,43 @@ protected static function defineSearchableAttributes(): array

/**
* @var CampaignElement|null
* @see self::getCampaign()
*/
private ?CampaignElement $campaign = null;

/**
* @var User|null
* @see self::getSender()
*/
private ?User $sender = null;

/**
* @var ContactElement[]|null
* @see self::getContacts()
*/
private ?array $contacts = null;

/**
* @var ContactElement[]|null
* @see self::getFailedContacts()
*/
private ?array $failedContacts = null;

/**
* @var MailingListElement[]|null
* @see self::getMailingLists()
*/
private ?array $mailingLists = null;

/**
* @var MailingListElement[]|null
* @see self::getExcludedMailingLists()
*/
private ?array $excludedMailingLists = null;

/**
* @var SegmentElement[]|null
* @see self::getSegments()
*/
private ?array $segments = null;

Expand Down
4 changes: 2 additions & 2 deletions tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ composer require markhuot/craft-pest-core:^2.0.0-rc2 --dev
Then run the following command from the root of your project.

```shell
php php vendor/bin/pest --configuration=vendor/putyourlightson/craft-campaign/tests/pest/phpunit.xml --test-directory=vendor/putyourlightson/craft-campaign/tests/pest
php vendor/bin/pest --configuration=vendor/putyourlightson/craft-campaign/tests/pest/phpunit.xml --test-directory=vendor/putyourlightson/craft-campaign/tests/pest
```

Or to run a specific test.

```shell
php php vendor/bin/pest --configuration=vendor/putyourlightson/craft-campaign/tests/pest/phpunit.xml --test-directory=vendor/putyourlightson/craft-campaign/tests/pest --filter=TrackerTest
php vendor/bin/pest --configuration=vendor/putyourlightson/craft-campaign/tests/pest/phpunit.xml --test-directory=vendor/putyourlightson/craft-campaign/tests/pest --filter=TrackerTest
```

0 comments on commit 30d15b5

Please sign in to comment.