Fakultas Ilmu Komputer UI

Verified Commit 34f55800 authored by Muhammad Ariq Basyar's avatar Muhammad Ariq Basyar
Browse files

[RED] new attribute for komentar model added creator_picture attribute

parent 26b89a44
Pipeline #81202 failed with stages
in 1 minute and 41 seconds
......@@ -70,6 +70,7 @@ void main() {
DateTime(2020, 1, 1),
'This is a test',
'test@email.com',
'test.jpg',
);
});
......@@ -80,6 +81,7 @@ void main() {
DateTime(2020, 1, 1),
'This is a test',
'test@email.com',
'test.jpg',
);
});
......
......@@ -9,6 +9,7 @@ void main() {
'deskripsi': 'This is a test',
'creator': 'Test',
'creator_email': 'test@email.com',
'creator_picture': 'test.jpg',
'created': '18-11-2020 00:13:52'
};
final returnKomentarPostingData = {
......@@ -16,6 +17,7 @@ void main() {
'deskripsi': 'This is a test',
'creator': 'Test',
'creator_email': 'test@email.com',
'creator_picture': 'test.jpg',
'created': '2020-11-18T00:13:00.000'
};
final userData = {
......@@ -84,6 +86,7 @@ void main() {
deskripsi: 'This is a test',
creator: 'Test',
creatorEmail: 'test@email.com',
creatorPicture: 'test.jpg',
created: DateTime.now());
expect(komentarPostingModel, isInstanceOf<KomentarPostingModel>());
expect(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment