Skip to content

Commit af0076c

Browse files
committed
updating dependencies and fixing last tests
1 parent a992c60 commit af0076c

File tree

5 files changed

+17
-17
lines changed

5 files changed

+17
-17
lines changed

composer.lock

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/IntegrationTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
use Symfony\Component\DomCrawler\Crawler;
1616
use Symfony\Component\Finder\Finder;
1717
use SymfonyDocsBuilder\DocBuilder;
18-
use SymfonyDocsBuilder\Generator\JsonGenerator;
1918
use SymfonyDocsBuilder\KernelFactory;
2019

2120
class IntegrationTest extends AbstractIntegrationTest
@@ -27,7 +26,7 @@ public function testIntegration(string $folder)
2726
{
2827
$buildConfig = $this->createBuildConfig(sprintf('%s/fixtures/source/%s', __DIR__, $folder));
2928
$builder = new DocBuilder();
30-
$buildResult = $builder->build($buildConfig);
29+
$builder->build($buildConfig);
3130

3231
$finder = new Finder();
3332
$finder->in(sprintf('%s/fixtures/expected/%s', __DIR__, $folder))

tests/fixtures/expected/build-pdf/book.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ <h1 id="book-index-book">Book</h1>
88
<p>Here is a link to the <a href="#index" class="reference internal">main index</a></p>
99
<div class="toctree-wrapper">
1010
<ul class="toctree toctree-level-1 toctree-length-2">
11-
<li><a href="https://symfony.com/doc/4.0/book/first-page.html#first-page">First page</a></li>
12-
<li><a href="https://symfony.com/doc/4.0/book/second-page.html#second-page">Second page</a></li>
11+
<li><a href="https://symfony.com/doc/4.0/book/first-page.html">First page</a></li>
12+
<li><a href="https://symfony.com/doc/4.0/book/second-page.html">Second page</a></li>
1313
</ul>
1414
</div>
1515
</div>

tests/fixtures/expected/main/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
<head>
44
<meta charset="utf-8" />
55

6-
6+
77
</head>
88

99
<body>
1010
<div class="section">
1111
<h1 id="some-test-docs"><a class="headerlink" href="#some-test-docs" title="Permalink to this headline">Some Test Docs!</a></h1>
1212
<img src="_images/symfony-logo.png" />
13-
<div class="toctree-wrapper"><ul class="toctree toctree-level-1 toctree-length-2"><li><a href="datetime.html#datetimetype-field">DateTimeType Field</a><ul class="toctree toctree-level-2 toctree-length-4"><li><a href="datetime.html#field-options">Field Options</a></li><li><a href="datetime.html#overridden-options">Overridden Options</a></li><li><a href="datetime.html#field-variables">Field Variables</a></li><li><a href="datetime.html#url-checker-errors">Url checker errors</a></li></ul></li><li><a href="form/form_type.html#formtype-documentation">FormType Documentation</a></li></ul></div>
13+
<div class="toctree-wrapper"><ul class="toctree toctree-level-1 toctree-length-2"><li><a href="datetime.html">DateTimeType Field</a><ul class="toctree toctree-level-2 toctree-length-4"><li><a href="datetime.html#field-options">Field Options</a></li><li><a href="datetime.html#overridden-options">Overridden Options</a></li><li><a href="datetime.html#field-variables">Field Variables</a></li><li><a href="datetime.html#url-checker-errors">Url checker errors</a></li></ul></li><li><a href="form/form_type.html">FormType Documentation</a></li></ul></div>
1414
<span id="reference-forms-type-date-format"></span>
1515
<div class="section">
1616
<h2 id="a-header"><a class="headerlink" href="#a-header" title="Permalink to this headline">A header</a></h2>
@@ -19,4 +19,4 @@ <h2 id="a-header"><a class="headerlink" href="#a-header" title="Permalink to thi
1919
</div>
2020

2121
</body>
22-
</html>
22+
</html>

tests/fixtures/expected/toctree/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
<body>
1010
<div class="section">
1111
<h1 id="toctree"><a class="headerlink" href="#toctree" title="Permalink to this headline">Toctree</a></h1>
12-
<div class="toctree-wrapper"><ul class="toctree toctree-level-1 toctree-length-1"><li><a href="file.html#title">Title</a><ul class="toctree toctree-level-2 toctree-length-1"><li><a href="file.html#sub-title">Sub title</a></li></ul></li></ul></div>
13-
<div class="toctree-wrapper"><ul class="toctree toctree-level-1 toctree-length-1"><li><a href="file.html#title">Title</a></li></ul></div>
14-
<div class="toctree-wrapper"><ul class="toctree toctree-level-1 toctree-length-1"><li><a href="directory/another_file.html#another-file">Another file</a></li></ul></div>
15-
<div class="toctree-wrapper"><ul class="toctree toctree-level-1 toctree-length-3"><li><a href="index.html#toctree">Toctree</a></li><li><a href="directory/another_file.html#another-file">Another file</a></li><li><a href="file.html#title">Title</a><ul class="toctree toctree-level-2 toctree-length-1"><li><a href="file.html#sub-title">Sub title</a></li></ul></li></ul></div>
16-
<div class="toctree-wrapper"><ul class="toctree toctree-level-1 toctree-length-3"><li><a href="file.html#title">Title</a><ul class="toctree toctree-level-2 toctree-length-1"><li><a href="file.html#sub-title">Sub title</a></li></ul></li><li><a href="index.html#toctree">Toctree</a></li><li><a href="directory/another_file.html#another-file">Another file</a></li></ul></div>
12+
<div class="toctree-wrapper"><ul class="toctree toctree-level-1 toctree-length-1"><li><a href="file.html">Title</a><ul class="toctree toctree-level-2 toctree-length-1"><li><a href="file.html#sub-title">Sub title</a></li></ul></li></ul></div>
13+
<div class="toctree-wrapper"><ul class="toctree toctree-level-1 toctree-length-1"><li><a href="file.html">Title</a></li></ul></div>
14+
<div class="toctree-wrapper"><ul class="toctree toctree-level-1 toctree-length-1"><li><a href="directory/another_file.html">Another file</a></li></ul></div>
15+
<div class="toctree-wrapper"><ul class="toctree toctree-level-1 toctree-length-3"><li><a href="index.html#toctree">Toctree</a></li><li><a href="directory/another_file.html">Another file</a></li><li><a href="file.html">Title</a><ul class="toctree toctree-level-2 toctree-length-1"><li><a href="file.html#sub-title">Sub title</a></li></ul></li></ul></div>
16+
<div class="toctree-wrapper"><ul class="toctree toctree-level-1 toctree-length-3"><li><a href="file.html">Title</a><ul class="toctree toctree-level-2 toctree-length-1"><li><a href="file.html#sub-title">Sub title</a></li></ul></li><li><a href="index.html#toctree">Toctree</a></li><li><a href="directory/another_file.html">Another file</a></li></ul></div>
1717

1818
</div>
1919

0 commit comments

Comments
 (0)