Kernel : Linux vmw02p.internet-indee.net 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Tue Nov 16 14:42:35 UTC 2021 x86_64
Disable function : NONE
Safe mode : OFF
Host : firofichi.it | Server ip : 5.196.164.15 | Your ip : 3.15.220.201 | Time @ Server : 19 Oct 2024 09:17:20
MySQL : OFF | MSSQL : OFF | cURL : ON | Oracle : OFF | wget : ON | Perl : ON

/home/webmaster/firofichi/www/vendor/magento/framework/Mview/Test/Unit/

HOME about upload exec mass file domain root vuln newfile newfolder kill me

File Path : /home/webmaster/firofichi/www/vendor/magento/framework/Mview/Test/Unit/ConfigTest.php

<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\Mview\Test\Unit; use \Magento\Framework\Mview\Config; class ConfigTest extends \PHPUnit\Framework\TestCase { /** * @var \Magento\Framework\Mview\Config */ protected $model; /** * @var \PHPUnit_Framework_MockObject_MockObject|\Magento\Framework\Mview\Config\Data */ protected $dataMock; protected function setUp() { $this->dataMock = $this->createMock(\Magento\Framework\Mview\Config\Data::class); $this->model = new Config( $this->dataMock ); } public function testGetViews() { $this->dataMock->expects($this->once()) ->method('get') ->will($this->returnValue(['some_data'])); $this->assertEquals(['some_data'], $this->model->getViews()); } public function testGetView() { $this->dataMock->expects($this->once()) ->method('get') ->with('some_view') ->will($this->returnValue(['some_data'])); $this->assertEquals(['some_data'], $this->model->getView('some_view')); } }