Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Enable Reader online tests #15

Closed
wants to merge 1 commit into from
Closed

Enable Reader online tests #15

wants to merge 1 commit into from

Conversation

Maks3w
Copy link
Member

@Maks3w Maks3w commented Nov 21, 2015

No description provided.

@Maks3w
Copy link
Member Author

Maks3w commented Nov 21, 2015

Most of this tests could be refactored as unit tests.

@@ -158,7 +158,7 @@ public function testImportsUriAndThrowsExceptionIfNotAFeed()
$this->markTestSkipped('testImportsUri() requires a network connection');
}

Reader\Reader::import('http://twitter.com/alganet');
Reader\Reader::import('http://example.com');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the change in URL? When I ran these tests last week, the original URLs worked correctly for the test expectations...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Troubles with redirect to HTTPS protocol. I didn't want to deal with that https://travis-ci.org/zendframework/zend-feed/jobs/92411760#L317

@Maks3w
Copy link
Member Author

Maks3w commented Nov 23, 2015

Rest of changes was done because the source of the reference webpages has changed.

In the future this tests should be refactored with a mock of the http client.

@weierophinney weierophinney added this to the 2.6.0 milestone Nov 24, 2015
@weierophinney weierophinney self-assigned this Nov 24, 2015
weierophinney added a commit that referenced this pull request Nov 24, 2015
weierophinney added a commit that referenced this pull request Nov 24, 2015
@weierophinney
Copy link
Member

Merged to develop for release with 2.6.0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants