Update composer dependencies, update tests for new mentioned h-cards
This commit is contained in:
parent
7eb5ecae2d
commit
e71c605acb
2 changed files with 29 additions and 39 deletions
54
composer.lock
generated
54
composer.lock
generated
|
@ -8,16 +8,16 @@
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "aws/aws-sdk-php",
|
"name": "aws/aws-sdk-php",
|
||||||
"version": "3.31.2",
|
"version": "3.31.5",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/aws/aws-sdk-php.git",
|
"url": "https://github.com/aws/aws-sdk-php.git",
|
||||||
"reference": "582e7764e0fa389c3248450cd6db2564dd656d99"
|
"reference": "bb28d91e5766539224f06240472e5184bfddca66"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/582e7764e0fa389c3248450cd6db2564dd656d99",
|
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/bb28d91e5766539224f06240472e5184bfddca66",
|
||||||
"reference": "582e7764e0fa389c3248450cd6db2564dd656d99",
|
"reference": "bb28d91e5766539224f06240472e5184bfddca66",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -84,7 +84,7 @@
|
||||||
"s3",
|
"s3",
|
||||||
"sdk"
|
"sdk"
|
||||||
],
|
],
|
||||||
"time": "2017-07-06T21:11:49+00:00"
|
"time": "2017-07-14T21:17:45+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "barnabywalters/mf-cleaner",
|
"name": "barnabywalters/mf-cleaner",
|
||||||
|
@ -1764,16 +1764,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "laravel/scout",
|
"name": "laravel/scout",
|
||||||
"version": "v3.0.6",
|
"version": "v3.0.7",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/laravel/scout.git",
|
"url": "https://github.com/laravel/scout.git",
|
||||||
"reference": "5a899828bf154ae7d957a2a78b4b6002e9fdf0fa"
|
"reference": "b899432186096dacc90700d5320d95cc3db1efe1"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/laravel/scout/zipball/5a899828bf154ae7d957a2a78b4b6002e9fdf0fa",
|
"url": "https://api.github.com/repos/laravel/scout/zipball/b899432186096dacc90700d5320d95cc3db1efe1",
|
||||||
"reference": "5a899828bf154ae7d957a2a78b4b6002e9fdf0fa",
|
"reference": "b899432186096dacc90700d5320d95cc3db1efe1",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -1825,7 +1825,7 @@
|
||||||
"laravel",
|
"laravel",
|
||||||
"search"
|
"search"
|
||||||
],
|
],
|
||||||
"time": "2017-07-12T12:29:47+00:00"
|
"time": "2017-07-12T18:42:43+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "laravel/tinker",
|
"name": "laravel/tinker",
|
||||||
|
@ -2533,16 +2533,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phaza/laravel-postgis",
|
"name": "phaza/laravel-postgis",
|
||||||
"version": "3.1.3",
|
"version": "3.2",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/njbarrett/laravel-postgis.git",
|
"url": "https://github.com/njbarrett/laravel-postgis.git",
|
||||||
"reference": "64f279eb3972b8b6b77e3cb43170a4095da4515f"
|
"reference": "53e0d18122bf8b21af3f54a56adb3661683705b3"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/njbarrett/laravel-postgis/zipball/64f279eb3972b8b6b77e3cb43170a4095da4515f",
|
"url": "https://api.github.com/repos/njbarrett/laravel-postgis/zipball/53e0d18122bf8b21af3f54a56adb3661683705b3",
|
||||||
"reference": "64f279eb3972b8b6b77e3cb43170a4095da4515f",
|
"reference": "53e0d18122bf8b21af3f54a56adb3661683705b3",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -2579,7 +2579,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "Postgis extensions for laravel. Aims to make it easy to work with geometries from laravel models",
|
"description": "Postgis extensions for laravel. Aims to make it easy to work with geometries from laravel models",
|
||||||
"time": "2017-05-23T09:38:08+00:00"
|
"time": "2017-07-15T00:56:38+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "pmatseykanets/laravel-scout-postgres",
|
"name": "pmatseykanets/laravel-scout-postgres",
|
||||||
|
@ -4609,22 +4609,22 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpdocumentor/reflection-docblock",
|
"name": "phpdocumentor/reflection-docblock",
|
||||||
"version": "3.1.1",
|
"version": "3.2.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
|
"url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
|
||||||
"reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e"
|
"reference": "46f7e8bb075036c92695b15a1ddb6971c751e585"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e",
|
"url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/46f7e8bb075036c92695b15a1ddb6971c751e585",
|
||||||
"reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e",
|
"reference": "46f7e8bb075036c92695b15a1ddb6971c751e585",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.5",
|
"php": ">=5.5",
|
||||||
"phpdocumentor/reflection-common": "^1.0@dev",
|
"phpdocumentor/reflection-common": "^1.0@dev",
|
||||||
"phpdocumentor/type-resolver": "^0.2.0",
|
"phpdocumentor/type-resolver": "^0.4.0",
|
||||||
"webmozart/assert": "^1.0"
|
"webmozart/assert": "^1.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
@ -4650,24 +4650,24 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
|
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
|
||||||
"time": "2016-09-30T07:12:33+00:00"
|
"time": "2017-07-15T11:38:20+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpdocumentor/type-resolver",
|
"name": "phpdocumentor/type-resolver",
|
||||||
"version": "0.2.1",
|
"version": "0.4.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/phpDocumentor/TypeResolver.git",
|
"url": "https://github.com/phpDocumentor/TypeResolver.git",
|
||||||
"reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb"
|
"reference": "9c977708995954784726e25d0cd1dddf4e65b0f7"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
|
"url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c977708995954784726e25d0cd1dddf4e65b0f7",
|
||||||
"reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb",
|
"reference": "9c977708995954784726e25d0cd1dddf4e65b0f7",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.5",
|
"php": "^5.5 || ^7.0",
|
||||||
"phpdocumentor/reflection-common": "^1.0"
|
"phpdocumentor/reflection-common": "^1.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
@ -4697,7 +4697,7 @@
|
||||||
"email": "me@mikevanriel.com"
|
"email": "me@mikevanriel.com"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2016-11-25T06:54:22+00:00"
|
"time": "2017-07-14T14:27:02+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpspec/prophecy",
|
"name": "phpspec/prophecy",
|
||||||
|
|
|
@ -29,12 +29,7 @@ class NotesTest extends TestCase
|
||||||
*/
|
*/
|
||||||
public function test_default_image_used_in_makehcards_method()
|
public function test_default_image_used_in_makehcards_method()
|
||||||
{
|
{
|
||||||
$expected = '<p>Hi <span class="u-category h-card">
|
$expected = '<p>Hi <span class="u-category h-card mini-h-card"><a class="u-url p-name" href="http://tantek.com">Tantek Çelik</a><span class="hovercard"> <a class="u-url" href="https://twitter.com/t"><img class="social-icon" src="/assets/img/social-icons/twitter.svg"> t</a><img class="u-photo" alt="" src="/assets/profile-images/default-image"></span></span></p>' . PHP_EOL;
|
||||||
<a class="mini-h-card u-url p-name" href="http://tantek.com">
|
|
||||||
<img class="u-photo" alt="" src="/assets/profile-images/default-image">
|
|
||||||
Tantek Çelik
|
|
||||||
</a>
|
|
||||||
<a class="u-url" href="https://twitter.com/t"></a></span></p>' . PHP_EOL;
|
|
||||||
$note = Note::find(12);
|
$note = Note::find(12);
|
||||||
$this->assertEquals($expected, $note->note);
|
$this->assertEquals($expected, $note->note);
|
||||||
}
|
}
|
||||||
|
@ -46,12 +41,7 @@ class NotesTest extends TestCase
|
||||||
*/
|
*/
|
||||||
public function test_specific_profile_image_used_in_makehcards_method()
|
public function test_specific_profile_image_used_in_makehcards_method()
|
||||||
{
|
{
|
||||||
$expected = '<p>Hi <span class="u-category h-card">
|
$expected = '<p>Hi <span class="u-category h-card mini-h-card"><a class="u-url p-name" href="https://aaronparecki.com">Aaron Parecki</a><span class="hovercard"><a class="u-url" href="https://www.facebook.com/123456"><img class="social-icon" src="/assets/img/social-icons/facebook.svg"> Facebook</a> <a class="u-url" href="https://twitter.com/aaronpk"><img class="social-icon" src="/assets/img/social-icons/twitter.svg"> aaronpk</a><img class="u-photo" alt="" src="/assets/profile-images/aaronparecki.com/image"></span></span></p>' . PHP_EOL;
|
||||||
<a class="mini-h-card u-url p-name" href="https://aaronparecki.com">
|
|
||||||
<img class="u-photo" alt="" src="/assets/profile-images/aaronparecki.com/image">
|
|
||||||
Aaron Parecki
|
|
||||||
</a>
|
|
||||||
<a class="u-url" href="https://twitter.com/aaronpk"></a></span></p>' . PHP_EOL;
|
|
||||||
$note = Note::find(13);
|
$note = Note::find(13);
|
||||||
$this->assertEquals($expected, $note->note);
|
$this->assertEquals($expected, $note->note);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue