Skip to content

Commit 4402fb4

Browse files
markshustclaude
andcommitted
fix: update favicon, fix test assertions for README and LogMailer
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 30960c5 commit 4402fb4

4 files changed

Lines changed: 34 additions & 40 deletions

File tree

docs/public/favicon.svg

Lines changed: 27 additions & 1 deletion
Loading

packages/dev-server/tests/PackageStructureTest.php

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,9 @@
8383
$content = file_get_contents($readmePath);
8484

8585
expect($content)
86-
->toContain('# Marko Dev Server')
87-
->toContain('## Overview')
86+
->toContain('# marko/dev-server')
8887
->toContain('## Installation')
89-
->toContain('## Usage')
90-
->toContain('## Configuration')
91-
->toContain('## API Reference');
88+
->toContain('## Documentation');
9289
});
9390

9491
it('documents installation via Composer', function (): void {
@@ -106,21 +103,11 @@
106103
->toContain('dev:status');
107104
});
108105

109-
it('documents config/dev.php configuration', function (): void {
106+
it('documents key commands in quick example', function (): void {
110107
$content = file_get_contents(__DIR__ . '/../README.md');
111108

112109
expect($content)
113-
->toContain('config/dev.php')
114-
->toContain('port')
115-
->toContain('detach')
116-
->toContain('docker')
117-
->toContain('frontend');
118-
});
119-
120-
it('documents CLI flag overrides', function (): void {
121-
$content = file_get_contents(__DIR__ . '/../README.md');
122-
123-
expect($content)
124-
->toContain('--port')
125-
->toContain('--detach');
110+
->toContain('dev:up')
111+
->toContain('dev:down')
112+
->toContain('dev:status');
126113
});

packages/framework/tests/PackageTest.php

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -123,25 +123,6 @@
123123
}
124124
});
125125

126-
it('README documents optional packages', function () {
127-
$readmePath = dirname(__DIR__) . '/README.md';
128-
$content = file_get_contents($readmePath);
129-
130-
$optionalPackages = [
131-
'marko/database',
132-
'marko/cache',
133-
'marko/session',
134-
'marko/authentication',
135-
'marko/log',
136-
'marko/filesystem',
137-
'marko/errors-advanced',
138-
];
139-
140-
foreach ($optionalPackages as $package) {
141-
expect($content)->toContain($package);
142-
}
143-
});
144-
145126
it('README shows installation examples', function () {
146127
$readmePath = dirname(__DIR__) . '/README.md';
147128
$content = file_get_contents($readmePath);

packages/mail-log/tests/Unit/LogMailerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
$logger = $this->createMock(LoggerInterface::class);
6565
$logger->expects($this->once())
6666
->method('info')
67-
->with('Email sent', $this->isType('array'));
67+
->with('Email sent', $this->isArray());
6868

6969
$mailer = new LogMailer($logger);
7070

0 commit comments

Comments
 (0)