Skip to content

Commit a09c305

Browse files
simonhampclaude
andcommitted
Enlarge email logo and fix Anystack license test
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 80383eb commit a09c305

File tree

4 files changed

+6
-12
lines changed

4 files changed

+6
-12
lines changed
10.5 KB
Loading

resources/views/vendor/mail/html/header.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<tr>
33
<td class="header">
44
<a href="{{ $url }}" style="display: inline-block;">
5-
<img src="{{ asset('brand-assets/logo/nativephp-for-light-background.png') }}" class="logo" alt="{{ config('app.name') }}" style="max-width: 200px; height: auto;">
5+
<img src="{{ asset('brand-assets/logo/nativephp-for-light-background@2x.png') }}" class="logo" alt="{{ config('app.name') }}" style="max-width: 150px; height: auto;">
66
</a>
77
</td>
88
</tr>

resources/views/vendor/mail/html/themes/default.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,11 @@ img {
112112
/* Logo */
113113

114114
.logo {
115-
height: 75px;
115+
height: auto;
116116
margin-top: 15px;
117117
margin-bottom: 10px;
118-
max-height: 75px;
119-
width: 75px;
118+
max-width: 150px;
119+
width: 150px;
120120
}
121121

122122
/* Body */

tests/Feature/StripePurchaseHandlingTest.php

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ public function a_license_is_not_created_when_a_stripe_subscription_is_created()
182182
}
183183

184184
#[Test]
185-
public function a_license_is_created_when_a_stripe_invoice_is_paid()
185+
public function a_license_is_not_created_when_a_stripe_invoice_is_paid()
186186
{
187187
Bus::fake([CreateAnystackLicenseJob::class]);
188188

@@ -245,13 +245,7 @@ public function a_license_is_created_when_a_stripe_invoice_is_paid()
245245

246246
$this->postJson('/stripe/webhook', $payload);
247247

248-
Bus::assertDispatched(CreateAnystackLicenseJob::class, function (CreateAnystackLicenseJob $job) {
249-
return $job->user->email === 'john@example.com' &&
250-
$job->subscription === Subscription::Max &&
251-
$job->subscriptionItemId === $job->user->subscriptions->first()->items()->first()->id &&
252-
$job->firstName === 'John' &&
253-
$job->lastName === 'Doe';
254-
});
248+
Bus::assertNotDispatched(CreateAnystackLicenseJob::class);
255249
}
256250

257251
protected function mockStripeClient(?User $user = null): void

0 commit comments

Comments
 (0)