Skip to content
Snippets Groups Projects

Fix wrong timestamps for files with the same name

Merged Nataliia Radina requested to merge 363436-incorrect-timestamps-and-messages into master
All threads resolved!
@@ -11,7 +11,7 @@ const MOCK_BLOBS = [
@@ -11,7 +11,7 @@ const MOCK_BLOBS = [
{
{
id: '123abc',
id: '123abc',
sha: '123abc',
sha: '123abc',
flatPath: 'main/blob',
flatPath: 'main/blob.md',
name: 'blob.md',
name: 'blob.md',
type: 'blob',
type: 'blob',
webPath: '/blob',
webPath: '/blob',
@@ -19,7 +19,7 @@ const MOCK_BLOBS = [
@@ -19,7 +19,7 @@ const MOCK_BLOBS = [
{
{
id: '124abc',
id: '124abc',
sha: '124abc',
sha: '124abc',
flatPath: 'main/blob2',
flatPath: 'main/blob2.md',
name: 'blob2.md',
name: 'blob2.md',
type: 'blob',
type: 'blob',
webUrl: 'http://test.com',
webUrl: 'http://test.com',
@@ -27,7 +27,7 @@ const MOCK_BLOBS = [
@@ -27,7 +27,7 @@ const MOCK_BLOBS = [
{
{
id: '125abc',
id: '125abc',
sha: '125abc',
sha: '125abc',
flatPath: 'main/blob3',
flatPath: 'main/blob3.md',
name: 'blob3.md',
name: 'blob3.md',
type: 'blob',
type: 'blob',
webUrl: 'http://test.com',
webUrl: 'http://test.com',
@@ -51,7 +51,7 @@ const MOCK_COMMITS = [
@@ -51,7 +51,7 @@ const MOCK_COMMITS = [
},
},
},
},
{
{
filePath: 'main.md',
filePath: 'main/blob3.md',
type: 'blob',
type: 'blob',
commit: {
commit: {
message: 'Updated blob3.md',
message: 'Updated blob3.md',
Loading