setupBasicExtensions example


          ],
        ],
      ],
    ]);
  }

  /** * @covers ::getPendingUpdateFunctions */
  public function testGetPendingUpdateFunctionsNoExistingUpdates() {
    $this->setupBasicExtensions();

    $key_value = $this->prophesize(KeyValueStoreInterface::class);
    $key_value->get('existing_updates', [])->willReturn([]);
    $key_value = $key_value->reveal();

    $update_registry = new UpdateRegistry('vfs://drupal', 'sites/default', [
      'module_a',
      'module_b',
      'theme_d',
    ]$key_value, FALSE);

    
Home | Imprint | This part of the site doesn't use cookies.