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.129.195.209 | Time @ Server : 19 Oct 2024 11:13:16
MySQL : OFF | MSSQL : OFF | cURL : ON | Oracle : OFF | wget : ON | Perl : ON

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

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/View/SubscriptionFactoryTest.php

<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\Mview\Test\Unit\View; use \Magento\Framework\Mview\View\SubscriptionFactory; class SubscriptionFactoryTest extends \PHPUnit\Framework\TestCase { /** * @var \Magento\Framework\Mview\View\SubscriptionFactory|\PHPUnit_Framework_MockObject_MockObject */ protected $model; /** * @var \Magento\Framework\ObjectManagerInterface|\PHPUnit_Framework_MockObject_MockObject */ protected $objectManagerMock; protected function setUp() { $this->objectManagerMock = $this->createMock(\Magento\Framework\ObjectManagerInterface::class); $this->model = new SubscriptionFactory($this->objectManagerMock); } public function testCreate() { $subscriptionInterfaceMock = $this->getMockForAbstractClass( \Magento\Framework\Mview\View\SubscriptionInterface::class, [], '', false ); $this->objectManagerMock->expects($this->once()) ->method('create') ->with(\Magento\Framework\Mview\View\SubscriptionInterface::class, ['some_data']) ->will($this->returnValue($subscriptionInterfaceMock)); $this->assertEquals($subscriptionInterfaceMock, $this->model->create(['some_data'])); } }