detector = $this->createMock(Detection::class); $this->cacheFactory = $this->createMock(ICacheFactory::class); $this->consoleInput = $this->getMockBuilder(InputInterface::class)->getMock(); $this->consoleOutput = $this->getMockBuilder(OutputInterface::class)->getMock(); $this->command = new UpdateTheme($this->detector, $this->cacheFactory); } public function testThemeUpdate(): void { $this->consoleInput->method('getOption') ->with('maintenance:theme:update') ->willReturn(true); $this->detector->expects($this->once()) ->method('getAllAliases') ->willReturn([]); $cache = $this->createMock(ICache::class); $cache->expects($this->once()) ->method('clear') ->with(''); $this->cacheFactory->expects($this->once()) ->method('createDistributed') ->with('imagePath') ->willReturn($cache); self::invokePrivate($this->command, 'execute', [$this->consoleInput, $this->consoleOutput]); } } 21f930'>dependabot/github_actions/github-actions-ced721f930 jQuery JavaScript Library: https://github.com/jquery/jquerywww-data
aboutsummaryrefslogtreecommitdiffstats
path: root/src/jquery.js
blob: a0d5d364767ee19cdd7e3a5c1331029e536a9b86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37