第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問(wèn)題,去搜搜看,總會(huì)有你想問(wèn)的

覆蓋 phpunit on Laravel 5.2

覆蓋 phpunit on Laravel 5.2

PHP
動(dòng)漫人物 2022-08-05 09:56:58
我執(zhí)行PhPUnit,覆蓋率報(bào)告無(wú)法生成,Laravel版本:5.2 Php版本:7.3.11。日志輸出為:PHPUnit 4.8.36 由 Sebastian Bergmann 和貢獻(xiàn)者提供。.使用時(shí)間: 1.51 秒, 內(nèi)存: 22.00MB正常(1 個(gè)測(cè)試,1 個(gè)斷言)正在生成 HTML 格式的代碼覆蓋率報(bào)告...count():參數(shù)必須是實(shí)現(xiàn) Countable 的數(shù)組或?qū)ο笪也恢肋@里怎么了?這是我的測(cè)試源:<?phpuse Illuminate\Foundation\Testing\WithoutMiddleware;use Illuminate\Foundation\Testing\DatabaseMigrations;use Illuminate\Foundation\Testing\DatabaseTransactions;use Illuminate\Http\Response;class TravelControllerTest extends TestCase{    /**     * A basic functional test example.     *     * @return void     */    public function testBasicExample()    {         $response = $this->json('GET', '/v1/abc', ['id' => 'Sally']);         $response->assertSessionHas('temporary_id', $value = 'Sally');    }}
查看完整描述

1 回答

?
慕的地8271018

TA貢獻(xiàn)1796條經(jīng)驗(yàn) 獲得超4個(gè)贊

升級(jí)PHPUnit和PhpCodeCoverage軟件包將是解決方案。你的軟件包已經(jīng)過(guò)時(shí)了!這是舊版本中的一個(gè)錯(cuò)誤。

以下是有關(guān)此主題的一些討論:

https://github.com/Codeception/Codeception/issues/4703

https://github.com/sebastianbergmann/php-code-coverage/issues/551


查看完整回答
反對(duì) 回復(fù) 2022-08-05
  • 1 回答
  • 0 關(guān)注
  • 134 瀏覽

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)