-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
“kaganuk”
committed
Oct 28, 2022
1 parent
ddff02c
commit b149517
Showing
46 changed files
with
188 additions
and
188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -149,10 +149,10 @@ public function it_has_metadata() | |
$this->assertSame('eLife welcomes the submission of Research Articles, Short Reports, Tools and Resources articles, Research Advances, Scientific Correspondence and Review Articles in the subject areas below.', $crawler->filter('meta[property="og:description"]')->attr('content')); | ||
$this->assertSame('eLife welcomes the submission of Research Articles, Short Reports, Tools and Resources articles, Research Advances, Scientific Correspondence and Review Articles in the subject areas below.', $crawler->filter('meta[name="description"]')->attr('content')); | ||
$this->assertSame('summary', $crawler->filter('meta[name="twitter:card"]')->attr('content')); | ||
$this->assertSame('http://localhost/'.ltrim(self::$kernel->getContainer()->get('elife.assets.packages')->getUrl('assets/images/social/icon-600x600@1.png'), '/'), $crawler->filter('meta[name="twitter:image"]')->attr('content')); | ||
$this->assertSame('http://localhost/'.ltrim(self::$kernel->getContainer()->get('elife.assets.packages')->getUrl('assets/images/social/icon-600x600@1.png'), '/'), $crawler->filter('meta[property="og:image"]')->attr('content')); | ||
$this->assertSame('600', $crawler->filter('meta[property="og:image:width"]')->attr('content')); | ||
$this->assertSame('600', $crawler->filter('meta[property="og:image:height"]')->attr('content')); | ||
$this->assertSame('http://localhost/'.ltrim(self::$kernel->getContainer()->get('elife.assets.packages')->getUrl('assets/images/social/icon-[email protected].png'), '/'), $crawler->filter('meta[name="twitter:image"]')->attr('content')); | ||
$this->assertSame('http://localhost/'.ltrim(self::$kernel->getContainer()->get('elife.assets.packages')->getUrl('assets/images/social/icon-[email protected].png'), '/'), $crawler->filter('meta[property="og:image"]')->attr('content')); | ||
$this->assertSame('280', $crawler->filter('meta[property="og:image:width"]')->attr('content')); | ||
$this->assertSame('200', $crawler->filter('meta[property="og:image:height"]')->attr('content')); | ||
$this->assertEmpty($crawler->filter('meta[name="dc.identifier"]')); | ||
$this->assertEmpty($crawler->filter('meta[name="dc.relation.ispartof"]')); | ||
$this->assertEmpty($crawler->filter('meta[name="dc.title"]')); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,10 +35,10 @@ public function it_has_metadata() | |
$this->assertSame('Independent, not-for-profit and supported by funders, eLife improves the way research is practised and shared.', $crawler->filter('meta[property="og:description"]')->attr('content')); | ||
$this->assertSame('Independent, not-for-profit and supported by funders, eLife improves the way research is practised and shared.', $crawler->filter('meta[name="description"]')->attr('content')); | ||
$this->assertSame('summary', $crawler->filter('meta[name="twitter:card"]')->attr('content')); | ||
$this->assertSame('http://localhost/'.ltrim(self::$kernel->getContainer()->get('elife.assets.packages')->getUrl('assets/images/social/icon-600x600@1.png'), '/'), $crawler->filter('meta[name="twitter:image"]')->attr('content')); | ||
$this->assertSame('http://localhost/'.ltrim(self::$kernel->getContainer()->get('elife.assets.packages')->getUrl('assets/images/social/icon-600x600@1.png'), '/'), $crawler->filter('meta[property="og:image"]')->attr('content')); | ||
$this->assertSame('600', $crawler->filter('meta[property="og:image:width"]')->attr('content')); | ||
$this->assertSame('600', $crawler->filter('meta[property="og:image:height"]')->attr('content')); | ||
$this->assertSame('http://localhost/'.ltrim(self::$kernel->getContainer()->get('elife.assets.packages')->getUrl('assets/images/social/icon-[email protected].png'), '/'), $crawler->filter('meta[name="twitter:image"]')->attr('content')); | ||
$this->assertSame('http://localhost/'.ltrim(self::$kernel->getContainer()->get('elife.assets.packages')->getUrl('assets/images/social/icon-[email protected].png'), '/'), $crawler->filter('meta[property="og:image"]')->attr('content')); | ||
$this->assertSame('280', $crawler->filter('meta[property="og:image:width"]')->attr('content')); | ||
$this->assertSame('200', $crawler->filter('meta[property="og:image:height"]')->attr('content')); | ||
$this->assertEmpty($crawler->filter('meta[name="dc.identifier"]')); | ||
$this->assertEmpty($crawler->filter('meta[name="dc.relation.ispartof"]')); | ||
$this->assertEmpty($crawler->filter('meta[name="dc.title"]')); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,10 +35,10 @@ public function it_has_metadata() | |
$this->assertSame('eLife\'s review process combines the immediacy and openness of preprints with the scrutiny of peer review by experts.', $crawler->filter('meta[property="og:description"]')->attr('content')); | ||
$this->assertSame('eLife\'s review process combines the immediacy and openness of preprints with the scrutiny of peer review by experts.', $crawler->filter('meta[name="description"]')->attr('content')); | ||
$this->assertSame('summary', $crawler->filter('meta[name="twitter:card"]')->attr('content')); | ||
$this->assertSame('http://localhost/'.ltrim(self::$kernel->getContainer()->get('elife.assets.packages')->getUrl('assets/images/social/icon-600x600@1.png'), '/'), $crawler->filter('meta[name="twitter:image"]')->attr('content')); | ||
$this->assertSame('http://localhost/'.ltrim(self::$kernel->getContainer()->get('elife.assets.packages')->getUrl('assets/images/social/icon-600x600@1.png'), '/'), $crawler->filter('meta[property="og:image"]')->attr('content')); | ||
$this->assertSame('600', $crawler->filter('meta[property="og:image:width"]')->attr('content')); | ||
$this->assertSame('600', $crawler->filter('meta[property="og:image:height"]')->attr('content')); | ||
$this->assertSame('http://localhost/'.ltrim(self::$kernel->getContainer()->get('elife.assets.packages')->getUrl('assets/images/social/icon-[email protected].png'), '/'), $crawler->filter('meta[name="twitter:image"]')->attr('content')); | ||
$this->assertSame('http://localhost/'.ltrim(self::$kernel->getContainer()->get('elife.assets.packages')->getUrl('assets/images/social/icon-[email protected].png'), '/'), $crawler->filter('meta[property="og:image"]')->attr('content')); | ||
$this->assertSame('280', $crawler->filter('meta[property="og:image:width"]')->attr('content')); | ||
$this->assertSame('200', $crawler->filter('meta[property="og:image:height"]')->attr('content')); | ||
$this->assertEmpty($crawler->filter('meta[name="dc.identifier"]')); | ||
$this->assertEmpty($crawler->filter('meta[name="dc.relation.ispartof"]')); | ||
$this->assertEmpty($crawler->filter('meta[name="dc.title"]')); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -172,10 +172,10 @@ public function it_has_metadata() | |
$this->assertSame('eLife’s editors, early-career advisors, governing board, and executive staff work in concert to realise our mission.', $crawler->filter('meta[property="og:description"]')->attr('content')); | ||
$this->assertSame('eLife’s editors, early-career advisors, governing board, and executive staff work in concert to realise our mission.', $crawler->filter('meta[name="description"]')->attr('content')); | ||
$this->assertSame('summary', $crawler->filter('meta[name="twitter:card"]')->attr('content')); | ||
$this->assertSame('http://localhost/'.ltrim(self::$kernel->getContainer()->get('elife.assets.packages')->getUrl('assets/images/social/icon-600x600@1.png'), '/'), $crawler->filter('meta[name="twitter:image"]')->attr('content')); | ||
$this->assertSame('http://localhost/'.ltrim(self::$kernel->getContainer()->get('elife.assets.packages')->getUrl('assets/images/social/icon-600x600@1.png'), '/'), $crawler->filter('meta[property="og:image"]')->attr('content')); | ||
$this->assertSame('600', $crawler->filter('meta[property="og:image:width"]')->attr('content')); | ||
$this->assertSame('600', $crawler->filter('meta[property="og:image:height"]')->attr('content')); | ||
$this->assertSame('http://localhost/'.ltrim(self::$kernel->getContainer()->get('elife.assets.packages')->getUrl('assets/images/social/icon-[email protected].png'), '/'), $crawler->filter('meta[name="twitter:image"]')->attr('content')); | ||
$this->assertSame('http://localhost/'.ltrim(self::$kernel->getContainer()->get('elife.assets.packages')->getUrl('assets/images/social/icon-[email protected].png'), '/'), $crawler->filter('meta[property="og:image"]')->attr('content')); | ||
$this->assertSame('280', $crawler->filter('meta[property="og:image:width"]')->attr('content')); | ||
$this->assertSame('200', $crawler->filter('meta[property="og:image:height"]')->attr('content')); | ||
$this->assertEmpty($crawler->filter('meta[name="dc.identifier"]')); | ||
$this->assertEmpty($crawler->filter('meta[name="dc.relation.ispartof"]')); | ||
$this->assertEmpty($crawler->filter('meta[name="dc.title"]')); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -154,10 +154,10 @@ public function it_has_metadata() | |
$this->assertSame('eLife welcomes the submission of Research Articles, Short Reports, Tools and Resources articles, Research Advances, Scientific Correspondence and Review Articles in the subject areas below.', $crawler->filter('meta[property="og:description"]')->attr('content')); | ||
$this->assertSame('eLife welcomes the submission of Research Articles, Short Reports, Tools and Resources articles, Research Advances, Scientific Correspondence and Review Articles in the subject areas below.', $crawler->filter('meta[name="description"]')->attr('content')); | ||
$this->assertSame('summary', $crawler->filter('meta[name="twitter:card"]')->attr('content')); | ||
$this->assertSame('http://localhost/'.ltrim(self::$kernel->getContainer()->get('elife.assets.packages')->getUrl('assets/images/social/icon-600x600@1.png'), '/'), $crawler->filter('meta[name="twitter:image"]')->attr('content')); | ||
$this->assertSame('http://localhost/'.ltrim(self::$kernel->getContainer()->get('elife.assets.packages')->getUrl('assets/images/social/icon-600x600@1.png'), '/'), $crawler->filter('meta[property="og:image"]')->attr('content')); | ||
$this->assertSame('600', $crawler->filter('meta[property="og:image:width"]')->attr('content')); | ||
$this->assertSame('600', $crawler->filter('meta[property="og:image:height"]')->attr('content')); | ||
$this->assertSame('http://localhost/'.ltrim(self::$kernel->getContainer()->get('elife.assets.packages')->getUrl('assets/images/social/icon-[email protected].png'), '/'), $crawler->filter('meta[name="twitter:image"]')->attr('content')); | ||
$this->assertSame('http://localhost/'.ltrim(self::$kernel->getContainer()->get('elife.assets.packages')->getUrl('assets/images/social/icon-[email protected].png'), '/'), $crawler->filter('meta[property="og:image"]')->attr('content')); | ||
$this->assertSame('280', $crawler->filter('meta[property="og:image:width"]')->attr('content')); | ||
$this->assertSame('200', $crawler->filter('meta[property="og:image:height"]')->attr('content')); | ||
$this->assertEmpty($crawler->filter('meta[name="dc.identifier"]')); | ||
$this->assertEmpty($crawler->filter('meta[name="dc.relation.ispartof"]')); | ||
$this->assertEmpty($crawler->filter('meta[name="dc.title"]')); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,10 +35,10 @@ public function it_has_metadata() | |
$this->assertSame('eLife recognises that reforming research communication depends on improving research culture.', $crawler->filter('meta[property="og:description"]')->attr('content')); | ||
$this->assertSame('eLife recognises that reforming research communication depends on improving research culture.', $crawler->filter('meta[name="description"]')->attr('content')); | ||
$this->assertSame('summary', $crawler->filter('meta[name="twitter:card"]')->attr('content')); | ||
$this->assertSame('http://localhost/'.ltrim(self::$kernel->getContainer()->get('elife.assets.packages')->getUrl('assets/images/social/icon-600x600@1.png'), '/'), $crawler->filter('meta[name="twitter:image"]')->attr('content')); | ||
$this->assertSame('http://localhost/'.ltrim(self::$kernel->getContainer()->get('elife.assets.packages')->getUrl('assets/images/social/icon-600x600@1.png'), '/'), $crawler->filter('meta[property="og:image"]')->attr('content')); | ||
$this->assertSame('600', $crawler->filter('meta[property="og:image:width"]')->attr('content')); | ||
$this->assertSame('600', $crawler->filter('meta[property="og:image:height"]')->attr('content')); | ||
$this->assertSame('http://localhost/'.ltrim(self::$kernel->getContainer()->get('elife.assets.packages')->getUrl('assets/images/social/icon-[email protected].png'), '/'), $crawler->filter('meta[name="twitter:image"]')->attr('content')); | ||
$this->assertSame('http://localhost/'.ltrim(self::$kernel->getContainer()->get('elife.assets.packages')->getUrl('assets/images/social/icon-[email protected].png'), '/'), $crawler->filter('meta[property="og:image"]')->attr('content')); | ||
$this->assertSame('280', $crawler->filter('meta[property="og:image:width"]')->attr('content')); | ||
$this->assertSame('200', $crawler->filter('meta[property="og:image:height"]')->attr('content')); | ||
$this->assertEmpty($crawler->filter('meta[name="dc.identifier"]')); | ||
$this->assertEmpty($crawler->filter('meta[name="dc.relation.ispartof"]')); | ||
$this->assertEmpty($crawler->filter('meta[name="dc.title"]')); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,10 +35,10 @@ public function it_has_metadata() | |
$this->assertSame('eLife develops and invests in technology that enhances the sharing and use of research results online.', $crawler->filter('meta[property="og:description"]')->attr('content')); | ||
$this->assertSame('eLife develops and invests in technology that enhances the sharing and use of research results online.', $crawler->filter('meta[name="description"]')->attr('content')); | ||
$this->assertSame('summary', $crawler->filter('meta[name="twitter:card"]')->attr('content')); | ||
$this->assertSame('http://localhost/'.ltrim(self::$kernel->getContainer()->get('elife.assets.packages')->getUrl('assets/images/social/icon-600x600@1.png'), '/'), $crawler->filter('meta[name="twitter:image"]')->attr('content')); | ||
$this->assertSame('http://localhost/'.ltrim(self::$kernel->getContainer()->get('elife.assets.packages')->getUrl('assets/images/social/icon-600x600@1.png'), '/'), $crawler->filter('meta[property="og:image"]')->attr('content')); | ||
$this->assertSame('600', $crawler->filter('meta[property="og:image:width"]')->attr('content')); | ||
$this->assertSame('600', $crawler->filter('meta[property="og:image:height"]')->attr('content')); | ||
$this->assertSame('http://localhost/'.ltrim(self::$kernel->getContainer()->get('elife.assets.packages')->getUrl('assets/images/social/icon-[email protected].png'), '/'), $crawler->filter('meta[name="twitter:image"]')->attr('content')); | ||
$this->assertSame('http://localhost/'.ltrim(self::$kernel->getContainer()->get('elife.assets.packages')->getUrl('assets/images/social/icon-[email protected].png'), '/'), $crawler->filter('meta[property="og:image"]')->attr('content')); | ||
$this->assertSame('280', $crawler->filter('meta[property="og:image:width"]')->attr('content')); | ||
$this->assertSame('200', $crawler->filter('meta[property="og:image:height"]')->attr('content')); | ||
$this->assertEmpty($crawler->filter('meta[name="dc.identifier"]')); | ||
$this->assertEmpty($crawler->filter('meta[name="dc.relation.ispartof"]')); | ||
$this->assertEmpty($crawler->filter('meta[name="dc.title"]')); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -99,10 +99,10 @@ public function it_has_metadata() | |
$this->assertSame('Stay in touch with eLife efforts to support the community and open science as well as new research. Choose your feeds and preferred ways to connect below.', $crawler->filter('meta[property="og:description"]')->attr('content')); | ||
$this->assertSame('Stay in touch with eLife efforts to support the community and open science as well as new research. Choose your feeds and preferred ways to connect below.', $crawler->filter('meta[name="description"]')->attr('content')); | ||
$this->assertSame('summary', $crawler->filter('meta[name="twitter:card"]')->attr('content')); | ||
$this->assertSame('http://localhost/'.ltrim(self::$kernel->getContainer()->get('elife.assets.packages')->getUrl('assets/images/social/icon-600x600@1.png'), '/'), $crawler->filter('meta[name="twitter:image"]')->attr('content')); | ||
$this->assertSame('http://localhost/'.ltrim(self::$kernel->getContainer()->get('elife.assets.packages')->getUrl('assets/images/social/icon-600x600@1.png'), '/'), $crawler->filter('meta[property="og:image"]')->attr('content')); | ||
$this->assertSame('600', $crawler->filter('meta[property="og:image:width"]')->attr('content')); | ||
$this->assertSame('600', $crawler->filter('meta[property="og:image:height"]')->attr('content')); | ||
$this->assertSame('http://localhost/'.ltrim(self::$kernel->getContainer()->get('elife.assets.packages')->getUrl('assets/images/social/icon-[email protected].png'), '/'), $crawler->filter('meta[name="twitter:image"]')->attr('content')); | ||
$this->assertSame('http://localhost/'.ltrim(self::$kernel->getContainer()->get('elife.assets.packages')->getUrl('assets/images/social/icon-[email protected].png'), '/'), $crawler->filter('meta[property="og:image"]')->attr('content')); | ||
$this->assertSame('280', $crawler->filter('meta[property="og:image:width"]')->attr('content')); | ||
$this->assertSame('200', $crawler->filter('meta[property="og:image:height"]')->attr('content')); | ||
$this->assertEmpty($crawler->filter('meta[name="dc.identifier"]')); | ||
$this->assertEmpty($crawler->filter('meta[name="dc.relation.ispartof"]')); | ||
$this->assertEmpty($crawler->filter('meta[name="dc.title"]')); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,10 +40,10 @@ public function it_has_metadata() | |
$this->assertEmpty($crawler->filter('meta[property="og:description"]')); | ||
$this->assertEmpty($crawler->filter('meta[name="description"]')); | ||
$this->assertSame('summary', $crawler->filter('meta[name="twitter:card"]')->attr('content')); | ||
$this->assertSame('http://localhost/'.ltrim(self::$kernel->getContainer()->get('elife.assets.packages')->getUrl('assets/images/social/icon-600x600@1.png'), '/'), $crawler->filter('meta[name="twitter:image"]')->attr('content')); | ||
$this->assertSame('http://localhost/'.ltrim(self::$kernel->getContainer()->get('elife.assets.packages')->getUrl('assets/images/social/icon-600x600@1.png'), '/'), $crawler->filter('meta[property="og:image"]')->attr('content')); | ||
$this->assertSame('600', $crawler->filter('meta[property="og:image:width"]')->attr('content')); | ||
$this->assertSame('600', $crawler->filter('meta[property="og:image:height"]')->attr('content')); | ||
$this->assertSame('http://localhost/'.ltrim(self::$kernel->getContainer()->get('elife.assets.packages')->getUrl('assets/images/social/icon-[email protected].png'), '/'), $crawler->filter('meta[name="twitter:image"]')->attr('content')); | ||
$this->assertSame('http://localhost/'.ltrim(self::$kernel->getContainer()->get('elife.assets.packages')->getUrl('assets/images/social/icon-[email protected].png'), '/'), $crawler->filter('meta[property="og:image"]')->attr('content')); | ||
$this->assertSame('280', $crawler->filter('meta[property="og:image:width"]')->attr('content')); | ||
$this->assertSame('200', $crawler->filter('meta[property="og:image:height"]')->attr('content')); | ||
$this->assertEmpty($crawler->filter('meta[name="dc.identifier"]')); | ||
$this->assertEmpty($crawler->filter('meta[name="dc.relation.ispartof"]')); | ||
$this->assertEmpty($crawler->filter('meta[name="dc.title"]')); | ||
|
Oops, something went wrong.