Skip to content

Commit 18ca688

Browse files
authored
Merge pull request #217 from gRegorLove/update-travis
Update Travis CI and fix failing test
2 parents c503c47 + e95d017 commit 18ca688

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.editorconfig

+4
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@ end_of_line = lf
55
trim_trailing_whitespace = true
66
insert_final_newline = true
77
charset = utf-8
8+
9+
[*.yml]
10+
indent_style = space
11+
indent_size = 2

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
dist: trusty
12
language: php
23
php:
34
- 5.4

tests/Mf2/ParserTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ public function testApplyTransformationToSrcset() {
372372
public function testRelativeURLResolvedWithFinalURL() {
373373
$mf = Mf2\fetch('http://aaron.pk/4Zn5');
374374

375-
$this->assertEquals('https://aaronparecki.com/2014/12/23/5/photo.jpeg', $mf['items'][0]['properties']['photo'][0]);
375+
$this->assertEquals('https://aaronparecki.com/img/1240x0/2014/12/23/5/photo.jpeg', $mf['items'][0]['properties']['photo'][0]);
376376
}
377377

378378
public function testScriptTagContentsRemovedFromTextValue() {

0 commit comments

Comments
 (0)