diff --git a/tests/InterfaceTest.php b/tests/InterfaceTest.php index 92440e7f..3022043d 100644 --- a/tests/InterfaceTest.php +++ b/tests/InterfaceTest.php @@ -221,13 +221,13 @@ public function testBlobPage() $this->assertTrue($client->getResponse()->isOk()); $this->assertCount(1, $crawler->filter('.breadcrumb .active:contains("test.php")')); - $this->assertEquals('/GitTest/raw/master/test.php', + $this->assertEquals('/GitTest/commits/master/test.php', $crawler->filter('.source-header .btn-group a')->eq(0)->attr('href')); - $this->assertEquals('/GitTest/blame/master/test.php', - $crawler->filter('.source-header .btn-group a')->eq(1)->attr('href')); $this->assertEquals('/GitTest/logpatch/master/test.php', - $crawler->filter('.source-header .btn-group a')->eq(2)->attr('href')); - $this->assertEquals('/GitTest/commits/master/test.php', + $crawler->filter('.source-header .btn-group a')->eq(1)->attr('href')); + $this->assertEquals('/GitTest/blame/master/test.php', + $crawler->filter('.source-header .btn-group a')->eq(2)->attr('href')); + $this->assertEquals('/GitTest/raw/master/test.php', $crawler->filter('.source-header .btn-group a')->eq(3)->attr('href')); } diff --git a/themes/bootstrap3/twig/commit.twig b/themes/bootstrap3/twig/commit.twig index 7a9863ee..b070b17f 100644 --- a/themes/bootstrap3/twig/commit.twig +++ b/themes/bootstrap3/twig/commit.twig @@ -41,6 +41,8 @@
diff --git a/themes/bootstrap3/twig/file.twig b/themes/bootstrap3/twig/file.twig index 53b65377..ba6ccc46 100644 --- a/themes/bootstrap3/twig/file.twig +++ b/themes/bootstrap3/twig/file.twig @@ -12,10 +12,10 @@ {% if fileType == 'image' %} diff --git a/themes/default/twig/commit.twig b/themes/default/twig/commit.twig index c80a05fb..3cd5266a 100644 --- a/themes/default/twig/commit.twig +++ b/themes/default/twig/commit.twig @@ -40,6 +40,8 @@ diff --git a/themes/default/twig/file.twig b/themes/default/twig/file.twig index 34ea1807..319bb79f 100644 --- a/themes/default/twig/file.twig +++ b/themes/default/twig/file.twig @@ -12,10 +12,10 @@ {% if fileType == 'image' %}