Browse Source

stackdriver: fix failing test

Erik Sundell 7 years ago
parent
commit
38e32a902e

+ 2 - 2
public/app/plugins/datasource/stackdriver/specs/datasource.test.ts

@@ -180,8 +180,8 @@ describe('StackdriverDataSource', () => {
     });
     it('should return successfully', () => {
       expect(result.length).toBe(2);
-      expect(result[0].id).toBe('test metric type 1');
-      expect(result[0].name).toBe('test metric name 1');
+      expect(result[0].type).toBe('test metric type 1');
+      expect(result[0].displayName).toBe('test metric name 1');
     });
   });