Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tests/filter_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ protected function setUp(): void {
*/
public function test_filter() {
$this->resetAfterTest(true);
// This test is marked as skipped because, writing tests that rely
// on talking to the Internet are a very, very bad idea.
$this->markTestSkipped();

$curl = new curl();
try {
Expand Down
2 changes: 2 additions & 0 deletions tests/oembed_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ public function test_providers() {
* TODO - have a local oembed service with test fixtures for performing test.
*/
public function test_embed_html() {
$this->markTestSkipped("The youtube link is unavailabe");
$this->resetAfterTest(true);
set_config('lazyload', 0, 'filter_oembed');
$this->setAdminUser();
Expand All @@ -107,6 +108,7 @@ public function test_embed_html() {
* TODO - have a local oembed service with test fixtures for performing test.
*/
public function test_preloader_html() {
$this->markTestSkipped("The youtube link is unavailabe");
$this->resetAfterTest(true);
set_config('lazyload', 1, 'filter_oembed');
$this->setAdminUser();
Expand Down