Skip to content

Commit

Permalink
Change the old cdn link with new one.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolay Tumbalev committed Feb 14, 2020
1 parent 2e9083f commit ed0fb1a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions tests/tests/Driver/PhantomjsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ public static function setUpBeforeClass()
parent::setUpBeforeClass();

self::$driver = new Driver_Phantomjs();
self::$driver->base_url('https://85b5d31b11244c8d6302-fabb5009fe9cc97c5f42aa7fac8fcd02.ssl.cf3.rackcdn.com');

self::$driver->base_url('http://clippings-spiderling.s3-website-eu-west-1.amazonaws.com');
self::$driver->visit('/remote-form.html');
}

Expand Down
6 changes: 3 additions & 3 deletions tests/tests/Driver/Simple/RequestFactory/HTTPTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ public function setUp()

public function test_request()
{
$content = $this->factory->execute('GET', 'http://6ca1671dbfe9477b14ce-fabb5009fe9cc97c5f42aa7fac8fcd02.r26.cf3.rackcdn.com/remote-form.html', array('test' => 'value'));
$content = $this->factory->execute('GET', 'http://clippings-spiderling.s3-website-eu-west-1.amazonaws.com/remote-form.html', array('test' => 'value'));

$this->assertContains('<legend>Author</legend>', $content);
$this->assertEquals('http://6ca1671dbfe9477b14ce-fabb5009fe9cc97c5f42aa7fac8fcd02.r26.cf3.rackcdn.com/remote-form.html', $this->factory->current_url());
$this->assertEquals('http://clippings-spiderling.s3-website-eu-west-1.amazonaws.com/remote-form.html', $this->factory->current_url());
$this->assertEquals('/remote-form.html', $this->factory->current_path());

$this->setExpectedException('Openbuildings\Spiderling\Exception_Curl');

$this->factory->execute('GET', 'http://6ca1671dbfe9477b14ce-fabb5009fe9cc97c5f42aa7fac8fcd02.r26.cf3.rackcdn.com/not-existst.html');
$this->factory->execute('GET', 'http://clippings-spiderling.s3-website-eu-west-1.amazonaws.com/not-existst.html');


}
Expand Down

0 comments on commit ed0fb1a

Please sign in to comment.