Skip to content

Commit 9d38e3f

Browse files
committed
Missed some
1 parent 875b5e0 commit 9d38e3f

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

tests/CascadeTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function it_generates_seo_cascade_from_site_defaults_and_home_entry()
3737
'description' => 'I see a bad-ass mother.',
3838
'priority' => 0.5,
3939
'change_frequency' => 'monthly',
40-
'compiled_title' => 'Home | Site Name',
40+
'compiled_title' => 'Home | SEO Pro',
4141
'og_title' => 'Home',
4242
'canonical_url' => 'http://cool-runnings.com',
4343
'prev_url' => null,
@@ -206,8 +206,8 @@ public function it_generates_seo_cascade_without_exception_when_no_home_entry_ex
206206
'description' => null,
207207
'priority' => 0.5,
208208
'change_frequency' => 'monthly',
209-
'compiled_title' => 'Site Name',
210-
'og_title' => 'Site Name',
209+
'compiled_title' => 'SEO Pro',
210+
'og_title' => 'SEO Pro',
211211
'canonical_url' => 'http://cool-runnings.com',
212212
'prev_url' => null,
213213
'next_url' => null,
@@ -233,7 +233,7 @@ public function it_generates_404_title_with_404_in_response_code_in_context()
233233
->get();
234234

235235
$this->assertEquals('404 Page Not Found', $data['title']);
236-
$this->assertEquals('404 Page Not Found | Site Name', $data['compiled_title']);
236+
$this->assertEquals('404 Page Not Found | SEO Pro', $data['compiled_title']);
237237
}
238238

239239
#[Test]

tests/Localized/GraphQLTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function it_queries_multisite_for_canonical_url_and_alternate_locales_in_
2929
GQL;
3030

3131
$expectedHtml = collect([
32-
'<title>Les Nectar of the Gods | Site Name</title>',
32+
'<title>Les Nectar of the Gods | SEO Pro</title>',
3333
'<meta name="description" content="The day started just like any other. Wake up at 5:30am, brush my teeth, bathe in a tub of warm milk, and trim my toenails while quietly resenting the fact that Flipper was on Nickelodeon at this hour instead of Rocko&#039;s Modern Life. That would have to wait until 5:30pm for that, and I am impatient.In truth, the day wou..." />',
3434
'<meta property="og:type" content="website" />',
3535
'<meta property="og:title" content="Les Nectar of the Gods" />',

tests/MetaTagTest.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function it_generates_normalized_meta($viewType)
6464
$this->prepareViews($viewType);
6565

6666
$expected = <<<'EOT'
67-
<title>Home | Site Name</title>
67+
<title>Home | SEO Pro</title>
6868
<meta name="description" content="I see a bad-ass mother." />
6969
<meta property="og:type" content="website" />
7070
<meta property="og:title" content="Home" />
@@ -93,7 +93,7 @@ public function it_generates_normalized_meta_when_visiting_statamic_route_with_r
9393
$this->prepareViews($viewType);
9494

9595
$expected = <<<'EOT'
96-
<title>The View | Site Name</title>
96+
<title>The View | SEO Pro</title>
9797
<meta name="description" content="A wonderful view!" />
9898
<meta property="og:type" content="website" />
9999
<meta property="og:title" content="The View" />
@@ -123,7 +123,7 @@ public function it_generates_normalized_meta_when_visiting_statamic_route_with_r
123123
$this->prepareViews($viewType);
124124

125125
$expected = <<<'EOT'
126-
<title>The View | Site Name</title>
126+
<title>The View | SEO Pro</title>
127127
<meta name="description" content="A wonderful view!" />
128128
<meta property="og:type" content="website" />
129129
<meta property="og:title" content="The View" />
@@ -676,7 +676,7 @@ public function it_generates_proper_404_page_title($viewType)
676676
$this->prepareViews($viewType);
677677

678678
$expected = <<<'EOT'
679-
<title>404 Page Not Found | Site Name</title>
679+
<title>404 Page Not Found | SEO Pro</title>
680680
EOT;
681681

682682
$content = $this->get('/non-existent-page')->content();
@@ -697,7 +697,7 @@ public function it_hydrates_cascade_on_custom_routes_using_blade_directive($view
697697

698698
$content = $this->get('/custom-get-route')->content();
699699

700-
$this->assertStringContainsStringIgnoringLineEndings('<title>Custom Route Entry Title | Site Name</title>', $content);
700+
$this->assertStringContainsStringIgnoringLineEndings('<title>Custom Route Entry Title | SEO Pro</title>', $content);
701701
}
702702

703703
#[Test]
@@ -819,7 +819,7 @@ public function it_outputs_paginated_page_in_title()
819819
->setSeoOnEntry(Entry::findByUri('/about'), []);
820820

821821
$response = $this->get('/about');
822-
$response->assertSee('<title>About Page 2 | Site Name</title>', false);
822+
$response->assertSee('<title>About Page 2 | SEO Pro</title>', false);
823823

824824
$this
825825
->prepareViews('antlers')
@@ -846,7 +846,7 @@ public function it_outputs_paginated_page_in_title()
846846
->setSeoOnEntry(Entry::findByUri('/about'), []);
847847

848848
$response = $this->get('/about');
849-
$response->assertDontSee('<title>About Page 2 | Site Name</title>', false);
849+
$response->assertDontSee('<title>About Page 2 | SEO Pro</title>', false);
850850
}
851851

852852
protected function setCustomGlidePresetDimensions($app)

0 commit comments

Comments
 (0)