Skip to content

Commit 700abc7

Browse files
authored
update tests folder links (#307)
1 parent 5a79128 commit 700abc7

File tree

9 files changed

+24
-24
lines changed

9 files changed

+24
-24
lines changed

tests/commands/ApiControllerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22
/**
3-
* @link http://www.yiiframework.com/
3+
* @link https://www.yiiframework.com/
44
* @copyright Copyright (c) 2008 Yii Software LLC
5-
* @license http://www.yiiframework.com/license/
5+
* @license https://www.yiiframework.com/license/
66
*/
77

88
namespace yiiunit\apidoc\commands;

tests/commands/GuideControllerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22
/**
3-
* @link http://www.yiiframework.com/
3+
* @link https://www.yiiframework.com/
44
* @copyright Copyright (c) 2008 Yii Software LLC
5-
* @license http://www.yiiframework.com/license/
5+
* @license https://www.yiiframework.com/license/
66
*/
77

88
namespace yiiunit\apidoc\commands;

tests/data/api/animal/Animal.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22
/**
3-
* @link http://www.yiiframework.com/
3+
* @link https://www.yiiframework.com/
44
* @copyright Copyright (c) 2008 Yii Software LLC
5-
* @license http://www.yiiframework.com/license/
5+
* @license https://www.yiiframework.com/license/
66
*/
77

88
namespace yiiunit\apidoc\data\api\animal;
@@ -43,4 +43,4 @@ public function getAge()
4343
{
4444
return time() - $this->birthDate;
4545
}
46-
}
46+
}

tests/data/api/animal/Cat.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22
/**
3-
* @link http://www.yiiframework.com/
3+
* @link https://www.yiiframework.com/
44
* @copyright Copyright (c) 2008 Yii Software LLC
5-
* @license http://www.yiiframework.com/license/
5+
* @license https://www.yiiframework.com/license/
66
*/
77

88
namespace yiiunit\apidoc\data\api\animal;

tests/data/api/animal/Dog.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22
/**
3-
* @link http://www.yiiframework.com/
3+
* @link https://www.yiiframework.com/
44
* @copyright Copyright (c) 2008 Yii Software LLC
5-
* @license http://www.yiiframework.com/license/
5+
* @license https://www.yiiframework.com/license/
66
*/
77

88
namespace yiiunit\apidoc\data\api\animal;

tests/models/BaseDocTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22
/**
3-
* @link http://www.yiiframework.com/
3+
* @link https://www.yiiframework.com/
44
* @copyright Copyright (c) 2008 Yii Software LLC
5-
* @license http://www.yiiframework.com/license/
5+
* @license https://www.yiiframework.com/license/
66
*/
77

88
namespace yiiunit\apidoc\models;
@@ -17,18 +17,18 @@ class BaseDocTest extends TestCase
1717
*/
1818
public function testExtractFirstSentenceWithBackticks()
1919
{
20-
$initialText = 'fallback host info (e.g. `http://www.yiiframework.com`) used when '
20+
$initialText = 'fallback host info (e.g. `https://www.yiiframework.com`) used when '
2121
. '[[\yii\web\Request::$hostInfo|Request::$hostInfo]] is invalid. This value will replace '
2222
. '[[\yii\web\Request::$hostInfo|Request::$hostInfo]] before [[$denyCallback]] is called to make sure that '
2323
. 'an invalid host will not be used for further processing. You can set it to `null` to leave '
2424
. '[[\yii\web\Request::$hostInfo|Request::$hostInfo]] untouched. Default value is empty string (this will '
2525
. 'result creating relative URLs instead of absolute).';
2626
$actualFirstSentence = BaseDoc::extractFirstSentence($initialText);
27-
$expectedFirstSentence = 'fallback host info (e.g. `http://www.yiiframework.com`) used when '
27+
$expectedFirstSentence = 'fallback host info (e.g. `https://www.yiiframework.com`) used when '
2828
. '[[\yii\web\Request::$hostInfo|Request::$hostInfo]] is invalid.';
2929
$this->assertEquals($expectedFirstSentence, $actualFirstSentence);
3030
}
31-
31+
3232
/**
3333
* @link https://github.com/yiisoft/yii2-apidoc/pull/282
3434
*/

tests/support/controllers/ApiControllerMock.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22
/**
3-
* @link http://www.yiiframework.com/
3+
* @link https://www.yiiframework.com/
44
* @copyright Copyright (c) 2008 Yii Software LLC
5-
* @license http://www.yiiframework.com/license/
5+
* @license https://www.yiiframework.com/license/
66
*/
77

88
namespace yiiunit\apidoc\support\controllers;
@@ -15,4 +15,4 @@
1515
class ApiControllerMock extends ApiController
1616
{
1717
use StdOutBufferControllerTrait;
18-
}
18+
}

tests/support/controllers/GuideControllerMock.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22
/**
3-
* @link http://www.yiiframework.com/
3+
* @link https://www.yiiframework.com/
44
* @copyright Copyright (c) 2008 Yii Software LLC
5-
* @license http://www.yiiframework.com/license/
5+
* @license https://www.yiiframework.com/license/
66
*/
77

88
namespace yiiunit\apidoc\support\controllers;
@@ -15,4 +15,4 @@
1515
class GuideControllerMock extends GuideController
1616
{
1717
use StdOutBufferControllerTrait;
18-
}
18+
}

tests/support/controllers/StdOutBufferControllerTrait.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22
/**
3-
* @link http://www.yiiframework.com/
3+
* @link https://www.yiiframework.com/
44
* @copyright Copyright (c) 2008 Yii Software LLC
5-
* @license http://www.yiiframework.com/license/
5+
* @license https://www.yiiframework.com/license/
66
*/
77

88
namespace yiiunit\apidoc\support\controllers;

0 commit comments

Comments
 (0)