Skip to content

Commit

Permalink
Fixed the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
izdrail committed Feb 6, 2023
1 parent 66e4b65 commit 35c965d
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 42 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
"kirschbaumdevelopment/laravel-test-runner:7.3",
"kirschbaumdevelopment/laravel-test-runner:7.4",
"kirschbaumdevelopment/laravel-test-runner:8.0",
"kirschbaumdevelopment/laravel-test-runner:9.0",
"kirschbaumdevelopment/laravel-test-runner:8.1",

]

Expand Down
29 changes: 0 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,30 +1 @@
<p align="center"><img src="https://sendportal.io/img/sendportal.png" width="250"></p>


Modern open-source self-hosted email marketing.

- [Website](https://sendportal.io)
- [Documentation](https://sendportal.io/docs)

## Introduction

The core functionality of SendPortal is contained within the [SendPortal Core](https://github.com/mettle/sendportal-core) package. If you would like to add SendPortal to an existing application, you only require this package.

## Features
SendPortal includes subscriber and list management, email campaigns, message tracking, reports and multiple workspaces/domains in a modern, flexible and scalable application.

SendPortal integrates with [Amazon SES](https://aws.amazon.com/ses), [Postmark](https://postmarkapp.com), [Sendgrid](https://sendgrid.com), [Mailgun](https://www.mailgun.com/) and [Mailjet](https://www.mailjet.com).

The [SendPortal](https://github.com/mettle/sendportal) application acts as a wrapper around SendPortal Core. This will allow you to run your own copy of SendPortal as a stand-alone application, including user authentication and multiple workspaces.

## Installation

As of Version 2, SendPortal can be installed as a stand-alone application (i.e. including everything you need to run SendPortal), or as a package inside an existing Laravel application.

If you would like to install SendPortal as a stand-alone application, please follow the [installation guide](https://sendportal.io/docs/v2/getting-started/installation).

If you would like to add SendPortal to an existing application, please follow the [package installation guide](https://sendportal.io/docs/v2/getting-started/package-installation).

## Upgrading

If you already have a copy of SendPortal v1 installed, please follow the [upgrade guide](https://sendportal.io/docs/v2/getting-started/upgrade-guide).
2 changes: 1 addition & 1 deletion resources/views/layouts/partials/header.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<h1 class="h3 mb-0">@yield('heading')</h1>

{!! \Cornatul\Marketing\Base\Facades\Sendportal::headerHtmlContent() !!}
{!! \Cornatul\Marketing\Base\Facades\MarketingPortal::headerHtmlContent() !!}

</header>
</div>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/layouts/partials/sidebar.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</a>
</li>

{!! \Cornatul\Marketing\Base\Facades\Sendportal::sidebarHtmlContent() !!}
{!! \Cornatul\Marketing\Base\Facades\MarketingPortal::sidebarHtmlContent() !!}

</ul>
</div>
14 changes: 7 additions & 7 deletions src/Models/EmailService.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ public function campaigns(): HasMany
return $this->hasMany(Campaign::class, 'email_service_id');
}

/**
* Automations using this email service.
*/
public function automations(): HasMany
{
return $this->hasMany(Automation::class, 'email_service_id');
}
// /**
// * Automations using this email service.
// */
// public function automations(): HasMany
// {
// return $this->hasMany(Automation::class, 'email_service_id');
// }

public function setSettingsAttribute(array $data): void
{
Expand Down
4 changes: 1 addition & 3 deletions src/Services/Helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ public function displayDate($date, string $timezone = null)

public function isPro(): bool
{
//todo replace this to MarketingProvider
// return class_exists(\Cornatul\Marketing\SendportalProServiceProvider::class);
return true;
return false;
}
}

0 comments on commit 35c965d

Please sign in to comment.