Commit 51e8e9de9942b126dd5cebf6db9ca3ff1b7e4ffa

Authored by Adhidarma Hadiwinoto
1 parent e3c1fb0ae5
Exists in master

lgging pas cari sn

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

... ... @@ -13,7 +13,7 @@ describe('#partner', function () {
13 13  
14 14 describe('#getSnFromMessage', function() {
15 15 it('should return correct sn', function() {
16   - partner.getSnFromMessage('S10.081300000000 berhasil, SN:123456789').should.equal('123456789');
  16 + partner.getSnFromMessage('IH5.085714777509 Status: SUKSES SN: 1330926551').should.equal('1330926551');
17 17 });
18 18 })
19 19  
... ... @@ -22,7 +22,7 @@ describe('#partner', function () {
22 22 partner.modifyMessageWithSn('S10.081300000000 berhasil.').should.equal('S10.081300000000 berhasil.');
23 23 partner.modifyMessageWithSn('S10.081300000000 berhasil, SN:').should.equal('S10.081300000000 berhasil, SN:');
24 24 partner.modifyMessageWithSn('S10.081300000000 berhasil, SN:123456789').should.equal('SN=123456789; S10.081300000000 berhasil, SN:123456789');
25   - partner.modifyMessageWithSn('S10.081300000000 berhasil, SN:123456789. Berita tambahan').should.equal('SN=123456789; S10.081300000000 berhasil, SN:123456789. Berita tambahan');
  25 + partner.modifyMessageWithSn('IH5.085714777509 Status: SUKSES SN: 1330926551').should.equal('SN=1330926551; IH5.085714777509 Status: SUKSES SN: 1330926551');
26 26 });
27 27 });
28 28 })